org.datanucleus.store.ldap.fieldmanager
Class DateToGeneralizedTimeStringConverter

java.lang.Object
  extended by org.datanucleus.store.ldap.fieldmanager.CalendarToGeneralizedTimeStringConverter
      extended by org.datanucleus.store.ldap.fieldmanager.DateToGeneralizedTimeStringConverter
All Implemented Interfaces:
org.datanucleus.store.types.ObjectStringConverter

public class DateToGeneralizedTimeStringConverter
extends CalendarToGeneralizedTimeStringConverter

Class to handle the conversion between java.util.Date and the generalized time syntax as described in RFC 4517.


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

Constructor Detail

DateToGeneralizedTimeStringConverter

public DateToGeneralizedTimeStringConverter()
Method Detail

toObject

public java.lang.Object toObject(java.lang.String str)
Specified by:
toObject in interface org.datanucleus.store.types.ObjectStringConverter
Overrides:
toObject in class CalendarToGeneralizedTimeStringConverter

toString

public java.lang.String toString(java.lang.Object obj)
Specified by:
toString in interface org.datanucleus.store.types.ObjectStringConverter
Overrides:
toString in class CalendarToGeneralizedTimeStringConverter


Copyright © 2010. All Rights Reserved.