org.datanucleus.store.types
Class JodaLocalTimeStringConverter

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

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

Class to handle the conversion between org.joda.time.LocalTime and a String form. The string form is ISO8601 format ("HH:mm:ss.SSS").

See Also:
Serialized Form

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

Constructor Detail

JodaLocalTimeStringConverter

public JodaLocalTimeStringConverter()
Method Detail

toObject

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

toString

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


Copyright © 2011. All Rights Reserved.