mvpa2.base.report.datetime¶
-
class
mvpa2.base.report.datetime¶ The year, month and day arguments are required. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints or longs.
Methods
astimezonetz -> convert to local time in new timezone tz combinedate, time -> datetime with same date and time fields ctimeReturn ctime() style string. dateReturn date object with same year, month and day. dstReturn self.tzinfo.dst(self). fromordinalint -> date corresponding to a proleptic Gregorian ordinal. fromtimestamptimestamp[, tz] -> tz’s local time from POSIX timestamp. isocalendarReturn a 3-tuple containing ISO year, week number, and weekday. isoformat[sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM]. isoweekdayReturn the day of the week represented by the date. now[tz] -> new datetime with tz’s local day and time. replaceReturn datetime with new specified fields. strftimeformat -> strftime() style string. strptimestring, format -> new datetime parsed from a string (like time.strptime()). timeReturn time object with same time but with tzinfo=None. timetupleReturn time tuple, compatible with time.localtime(). timetzReturn time object with same time and tzinfo. todayCurrent date or datetime: same as self.__class__.fromtimestamp(time.time()). toordinalReturn proleptic Gregorian ordinal. tznameReturn self.tzinfo.tzname(self). utcfromtimestamptimestamp -> UTC datetime from a POSIX timestamp (like time.time()). utcnowReturn a new datetime representing UTC day and time. utcoffsetReturn self.tzinfo.utcoffset(self). utctimetupleReturn UTC time tuple, compatible with time.localtime(). weekdayReturn the day of the week represented by the date. -
astimezone()¶ tz -> convert to local time in new timezone tz
-
combine()¶ date, time -> datetime with same date and time fields
-
ctime()¶ Return ctime() style string.
-
date()¶ Return date object with same year, month and day.
-
dst()¶ Return self.tzinfo.dst(self).
-
fromtimestamp()¶ timestamp[, tz] -> tz’s local time from POSIX timestamp.
-
hour¶
-
isoformat()¶ [sep] -> string in ISO 8601 format, YYYY-MM-DDTHH:MM:SS[.mmmmmm][+HH:MM].
sep is used to separate the year from the time, and defaults to ‘T’.
-
max= datetime.datetime(9999, 12, 31, 23, 59, 59, 999999)¶
-
microsecond¶
-
min= datetime.datetime(1, 1, 1, 0, 0)¶
-
minute¶
-
now()¶ [tz] -> new datetime with tz’s local day and time.
-
replace()¶ Return datetime with new specified fields.
-
resolution= datetime.timedelta(0, 0, 1)¶
-
second¶
-
strptime()¶ string, format -> new datetime parsed from a string (like time.strptime()).
-
time()¶ Return time object with same time but with tzinfo=None.
-
timetuple()¶ Return time tuple, compatible with time.localtime().
-
timetz()¶ Return time object with same time and tzinfo.
-
tzinfo¶
-
tzname()¶ Return self.tzinfo.tzname(self).
-
utcfromtimestamp()¶ timestamp -> UTC datetime from a POSIX timestamp (like time.time()).
-
utcnow()¶ Return a new datetime representing UTC day and time.
-
utcoffset()¶ Return self.tzinfo.utcoffset(self).
-
utctimetuple()¶ Return UTC time tuple, compatible with time.localtime().
-



