jodd.datetime.converters
Class CalendarConverter

java.lang.Object
  extended byjodd.datetime.converters.CalendarConverter
All Implemented Interfaces:
JdtConverter

public class CalendarConverter
extends java.lang.Object
implements JdtConverter


Constructor Summary
CalendarConverter()
           
 
Method Summary
 java.lang.Object get(JDateTime gt)
          Creates a new instance of specified class and loads it with the time information from JDateTime.
 void load(JDateTime gt, java.lang.Object o)
          Loads time information from object to JDateTime
 void store(JDateTime gt, java.lang.Object o)
          Stores time information to object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarConverter

public CalendarConverter()
Method Detail

load

public void load(JDateTime gt,
                 java.lang.Object o)
Description copied from interface: JdtConverter
Loads time information from object to JDateTime

Specified by:
load in interface JdtConverter
Parameters:
gt -
o -

get

public java.lang.Object get(JDateTime gt)
Description copied from interface: JdtConverter
Creates a new instance of specified class and loads it with the time information from JDateTime.

Specified by:
get in interface JdtConverter
Parameters:
gt -
Returns:
new instance of specified class populated with time information
See Also:
JdtConverter.store(jodd.datetime.JDateTime, java.lang.Object)

store

public void store(JDateTime gt,
                  java.lang.Object o)
Description copied from interface: JdtConverter
Stores time information to object.

Specified by:
store in interface JdtConverter
Parameters:
gt -
o -


Jodd v0.24.5 Javadoc