jodd.datetime
Interface JdtConverter

All Known Implementing Classes:
CalendarConverter, DateConverter, GregorianCalendarConverter, JDateTimeConverter, SqlDateConverter, SqlTimestampConverter

public interface JdtConverter

Interface for various converters from/to JDateTime.


Method Summary
 java.lang.Object get(JDateTime jdt)
          Creates a new instance of specified class and loads it with the time information from JDateTime.
 void load(JDateTime jdt, java.lang.Object o)
          Loads time information from object to JDateTime
 void store(JDateTime jdt, java.lang.Object o)
          Stores time information to object.
 

Method Detail

load

public void load(JDateTime jdt,
                 java.lang.Object o)
Loads time information from object to JDateTime

Parameters:
jdt -
o -

get

public java.lang.Object get(JDateTime jdt)
Creates a new instance of specified class and loads it with the time information from JDateTime.

Parameters:
jdt -
Returns:
new instance of specified class populated with time information
See Also:
store(jodd.datetime.JDateTime, java.lang.Object)

store

public void store(JDateTime jdt,
                  java.lang.Object o)
Stores time information to object.

Parameters:
jdt -
o -


Jodd v0.24.5 Javadoc