Contains broken down date-time representation.
This struct is analogous to standard C struct tm
and uses the same, not always immediately obvious, conventions for its members: notably its mon and yday fields count from 0 while mday counts from 1.
Return the week day corresponding to this date. |
|
Check if the given date/time is valid (in Gregorian calendar). |
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
wx.DateTime.
Tm
(object)¶Contains broken down date-time representation.
GetWeekDay
(self)¶Return the week day corresponding to this date.
Unlike the other fields, the week day is not always available and so must be accessed using this method as it is computed on demand when it is called.
IsValid
(self)¶Check if the given date/time is valid (in Gregorian calendar).
Return False
if the components don’t correspond to a correct date.
bool
WeekDay
¶See GetWeekDay
hour
¶A public C++ attribute of type int
. Hours since midnight in 0..23 range.
mday
¶A public C++ attribute of type int
. Day of the month in 1..31 range.
min
¶A public C++ attribute of type int
. Minutes in 0..59 range.
mon
¶A public C++ attribute of type DateTime.Month
. Month, as an enumerated constant.
msec
¶A public C++ attribute of type int
. Number of milliseconds.
sec
¶A public C++ attribute of type int
. Seconds in 0..59 (60 with leap seconds) range.
yday
¶A public C++ attribute of type int
. Day of the year in 0..365 range.
year
¶A public C++ attribute of type int
. Year.