public class

SecondsDateConverter

extends AbstractSingleValueConverter
java.lang.Object
   ↳ com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
     ↳ com.atlassian.bamboo.persister.xstream.SecondsDateConverter

Class Overview

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.

Summary

Public Constructors
SecondsDateConverter()
Public Methods
boolean canConvert(Class aClass)
Inform XStream that we're reponsible for converting dates.
Object fromString(String s)
String toString(Object object)
[Expand]
Inherited Methods
From class com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter
From class java.lang.Object
From interface com.thoughtworks.xstream.converters.ConverterMatcher
From interface com.thoughtworks.xstream.converters.SingleValueConverter

Public Constructors

public SecondsDateConverter ()

Public Methods

public boolean canConvert (Class aClass)

Inform XStream that we're reponsible for converting dates.

public Object fromString (String s)

public String toString (Object object)