| Modifier and Type | Method and Description |
|---|---|
| public PyObject | Returns: date as PyObjectto set year, int to set month, int to set day)This function constructs an object holding a date value. |
| public PyObject | Returns: PyObjectnumber of seconds since the epoch 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). |
| public PyObject | Returns: time as PyObjectto set hour, int to set minute, int to set second)This function constructs an object holding a time value. |
| public PyObject | Returns: PyObjectnumber of seconds since the epoch 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). |
| public PyObject | Returns: time stamp as PyObjectto set year, int to set month, int to set day, int to set hour, int to set minute, int to set second)This function constructs an object holding a time stamp value. |
| public PyObject | Returns: PyObjectnumber of seconds since the epoch 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). |
| Date | back to summary |
|---|---|
| public PyObject Date(int year, int month, int day) This function constructs an object holding a date value.
date as PyObject | |
| DateFromTicks | back to summary |
|---|---|
| public 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). Note The DB API 2.0 spec calls for time in seconds since the epoch while the Java Date object returns time in milliseconds since the epoch. This module adheres to the python API and will therefore use time in seconds rather than milliseconds, so adjust any Java code accordingly.
| |
| Time | back to summary |
|---|---|
| public PyObject Time(int hour, int minute, int second) This function constructs an object holding a time value.
time as PyObject | |
| TimeFromTicks | back to summary |
|---|---|
| public 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). Note The DB API 2.0 spec calls for time in seconds since the epoch while the Java Date object returns time in milliseconds since the epoch. This module adheres to the python API and will therefore use time in seconds rather than milliseconds, so adjust any Java code accordingly.
| |
| Timestamp | back to summary |
|---|---|
| public PyObject Timestamp(int year, int month, int day, int hour, int minute, int second) This function constructs an object holding a time stamp value.
time stamp as PyObject | |
| TimestampFromTicks | back to summary |
|---|---|
| public 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). Note The DB API 2.0 spec calls for time in seconds since the epoch while the Java Date object returns time in milliseconds since the epoch. This module adheres to the python API and will therefore use time in seconds rather than milliseconds, so adjust any Java code accordingly.
| |