net.ripe.rpki.commons.xml.converters
Class DateTimeConverter

java.lang.Object
  extended by net.ripe.rpki.commons.xml.converters.DateTimeConverter
All Implemented Interfaces:
com.thoughtworks.xstream.converters.ConverterMatcher, com.thoughtworks.xstream.converters.SingleValueConverter

public class DateTimeConverter
extends Object
implements com.thoughtworks.xstream.converters.SingleValueConverter


Constructor Summary
DateTimeConverter()
           
DateTimeConverter(boolean useMillis)
           
 
Method Summary
 boolean canConvert(Class type)
           
 Object fromString(String s)
           
 String toString(Object datetime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateTimeConverter

public DateTimeConverter()

DateTimeConverter

public DateTimeConverter(boolean useMillis)
Method Detail

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface com.thoughtworks.xstream.converters.ConverterMatcher

fromString

public Object fromString(String s)
Specified by:
fromString in interface com.thoughtworks.xstream.converters.SingleValueConverter

toString

public String toString(Object datetime)
Specified by:
toString in interface com.thoughtworks.xstream.converters.SingleValueConverter


Copyright © 2008-2015 RIPE NCC, the Netherlands. All Rights Reserved.