|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ziclix.python.sql.JavaDateFactory
public class JavaDateFactory
Produce java.[util|sql] type dates.
| Constructor Summary | |
|---|---|
JavaDateFactory()
|
|
| 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). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaDateFactory()
| Method Detail |
|---|
public PyObject Date(int year,
int month,
int day)
Date in interface DateFactoryyear - month - day -
public PyObject Time(int hour,
int minute,
int second)
Time in interface DateFactoryhour - minute - second -
public PyObject Timestamp(int year,
int month,
int day,
int hour,
int minute,
int second)
Timestamp in interface DateFactoryyear - month - day - hour - minute - second -
public PyObject DateFromTicks(long ticks)
DateFromTicks in interface DateFactoryticks - number of seconds since the epoch
public PyObject TimeFromTicks(long ticks)
TimeFromTicks in interface DateFactoryticks - number of seconds since the epoch
public PyObject TimestampFromTicks(long ticks)
TimestampFromTicks in interface DateFactoryticks - number of seconds since the epoch
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||