jodd.datetime.converter
Class GregorianCalendarConverter

java.lang.Object
  extended by jodd.datetime.converter.GregorianCalendarConverter
All Implemented Interfaces:
JdtConverter

public class GregorianCalendarConverter
extends java.lang.Object
implements JdtConverter


Constructor Summary
GregorianCalendarConverter()
           
 
Method Summary
 java.lang.Object convertTo(JDateTime jdt)
          Creates a new destination instance of specified class and stores date time information.
 void loadFrom(JDateTime jdt, java.lang.Object source)
          Loads date time information from object to provided JDateTime instance.
 void storeTo(JDateTime jdt, java.lang.Object destination)
          Stores date time information to destination object from provided JDateTime instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GregorianCalendarConverter

public GregorianCalendarConverter()
Method Detail

loadFrom

public void loadFrom(JDateTime jdt,
                     java.lang.Object source)
Description copied from interface: JdtConverter
Loads date time information from object to provided JDateTime instance.

Specified by:
loadFrom in interface JdtConverter

convertTo

public java.lang.Object convertTo(JDateTime jdt)
Description copied from interface: JdtConverter
Creates a new destination instance of specified class and stores date time information. After creating the instance, it usually calls JdtConverter.storeTo(jodd.datetime.JDateTime, Object).

Specified by:
convertTo in interface JdtConverter
See Also:
JdtConverter.storeTo(jodd.datetime.JDateTime, Object)

storeTo

public void storeTo(JDateTime jdt,
                    java.lang.Object destination)
Description copied from interface: JdtConverter
Stores date time information to destination object from provided JDateTime instance.

Specified by:
storeTo in interface JdtConverter
See Also:
JdtConverter.convertTo(jodd.datetime.JDateTime)


Copyright ©2008 Jodd Team