|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DateFactory
Provide an extensible way to create dates for zxJDBC.
Method Summary | |
---|---|
PyObject |
Date(int year,
int month,
int day)
This function constructs an object holding a date value. |
PyObject |
DateFromTicks(long ticks)
This function constructs an object holding a date value from the given ticks value (number of seconds since the epoch; see the documentation of the standard Python time module for details). |
PyObject |
Time(int hour,
int minute,
int second)
This function constructs an object holding a time value. |
PyObject |
TimeFromTicks(long ticks)
This function constructs an object holding a time value from the given ticks value (number of seconds since the epoch; see the documentation of the standard Python time module for details). |
PyObject |
Timestamp(int year,
int month,
int day,
int hour,
int minute,
int second)
This function constructs an object holding a time stamp value. |
PyObject |
TimestampFromTicks(long ticks)
This function constructs an object holding a time stamp value from the given ticks value (number of seconds since the epoch; see the documentation of the standard Python time module for details). |
Method Detail |
---|
PyObject Date(int year, int month, int day)
year
- month
- day
-
PyObject Time(int hour, int minute, int second)
hour
- minute
- second
-
PyObject Timestamp(int year, int month, int day, int hour, int minute, int second)
year
- month
- day
- hour
- minute
- second
-
PyObject DateFromTicks(long ticks)
ticks
- number of seconds since the epoch
PyObject TimeFromTicks(long ticks)
ticks
- number of seconds since the epoch
PyObject TimestampFromTicks(long ticks)
ticks
- number of seconds since the epoch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |