com.atlassian.bamboo.persister.xstream
Class SecondsDateConverter

java.lang.Object
  extended by AbstractBasicConverter
      extended by 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)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.