PyDelta_Check(obj);
61 returnPyDelta_CheckExact(obj);
73 returnPyTZInfo_Check(obj);
77 returnPyTZInfo_CheckExact(obj);
100 CTime(
inthour,
intminute,
intsecond,
intusecond)
108 returnPyDateTime_TIME_GET_HOUR(
Get());
112 returnPyDateTime_TIME_GET_MINUTE(
Get());
116 returnPyDateTime_TIME_GET_SECOND(
Get());
120 returnPyDateTime_TIME_GET_MICROSECOND(
Get());
126 returnPyTime_Check(obj);
130 returnPyTime_CheckExact(obj);
148 CDate(
intyear,
intmonth,
intday)
156 returnPyDateTime_GET_YEAR(
Get());
160 returnPyDateTime_GET_MONTH(
Get());
164 returnPyDateTime_GET_DAY(
Get());
170 returnPyDate_Check(obj);
174 returnPyDate_CheckExact(obj);
186:
CDate(obj, ownership)
200 CDateTime(
intyear,
intmonth,
intday,
inthour = 0,
intminute = 0,
intsecond = 0,
intusecond = 0)
201:
CDate(PyDateTime_FromDateAndTime(year, month, day, hour, minute, second, usecond),
eTakeOwnership)
208 returnPyDateTime_DATE_GET_HOUR(
Get());
212 returnPyDateTime_DATE_GET_MINUTE(
Get());
216 returnPyDateTime_DATE_GET_SECOND(
Get());
220 returnPyDateTime_DATE_GET_MICROSECOND(
Get());
226 returnPyDateTime_Check(obj);
230 returnPyDateTime_CheckExact(obj);
static bool HasSameType(PyObject *obj)
CDateTime(int year, int month, int day, int hour=0, int minute=0, int second=0, int usecond=0)
CDateTime(PyObject *obj, EOwnership ownership=eAcquireOwnership)
int GetMicroSecond(void) const
int GetMinute(void) const
CDateTime(const CObject &obj)
static bool HasExactSameType(PyObject *obj)
int GetSecond(void) const
static bool HasSameType(PyObject *obj)
CDate(const CObject &obj)
static bool HasExactSameType(PyObject *obj)
CDate(int year, int month, int day)
CDate(PyObject *obj, EOwnership ownership=eAcquireOwnership)
void Set(PyObject *obj, EOwnership ownership)
Not exception-safe this time.
PyObject * Get(void) const
static bool HasSameType(PyObject *obj)
static bool HasExactSameType(PyObject *obj)
CTimeDelta(int days, int seconds, int useconds)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
int GetMinute(void) const
int GetSecond(void) const
CTime(int hour, int minute, int second, int usecond)
int GetMicroSecond(void) const
CTime(const CObject &obj)
static bool HasExactSameType(PyObject *obj)
static bool HasSameType(PyObject *obj)
CTime(PyObject *obj, EOwnership ownership=eAcquireOwnership)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4