Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.atlassian.bamboo.persister.xstream
Class SecondsDateConverter

    java.lang.Object
      AbstractBasicConverter
          com.atlassian.bamboo.persister.xstream.SecondsDateConverter

    public class SecondsDateConverter

extends AbstractBasicConverter

This class is a temp bug fix for persisting dates in xstream

This was written to fix a bug in Xstream in that it ignored seconds. Although fixed in XStream, we still use it to so we can load old versions of the build.

Constructor Summary
`SecondsDateConverter()`

Method Summary
`boolean` | `canConvert(Class aClass)` Inform XStream that we're reponsible for converting dates.
`protected Object` | `fromString(String s)`
`protected String` | `toString(Object object)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### SecondsDateConverter

    public SecondsDateConverter()

Method Detail

### canConvert

    public boolean canConvert(Class aClass)

  Inform XStream that we're reponsible for converting dates.

### fromString

    protected Object fromString(String s)

### toString

    protected String toString(Object object)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.