org.datanucleus.store.types
Class JodaIntervalStringConverter

java.lang.Object
  extended by org.datanucleus.store.types.JodaIntervalStringConverter
All Implemented Interfaces:
java.io.Serializable, org.datanucleus.store.types.ObjectStringConverter<org.joda.time.Interval>

public class JodaIntervalStringConverter
extends java.lang.Object
implements org.datanucleus.store.types.ObjectStringConverter<org.joda.time.Interval>

Class to handle the conversion between org.joda.time.Interval and a String form.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.datanucleus.store.types.ObjectStringConverter
LOCALISER
 
Constructor Summary
JodaIntervalStringConverter()
           
 
Method Summary
 org.joda.time.Interval toObject(java.lang.String str)
           
 java.lang.String toString(org.joda.time.Interval itv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JodaIntervalStringConverter

public JodaIntervalStringConverter()
Method Detail

toObject

public org.joda.time.Interval toObject(java.lang.String str)
Specified by:
toObject in interface org.datanucleus.store.types.ObjectStringConverter<org.joda.time.Interval>

toString

public java.lang.String toString(org.joda.time.Interval itv)
Specified by:
toString in interface org.datanucleus.store.types.ObjectStringConverter<org.joda.time.Interval>


Copyright © 2011. All Rights Reserved.