time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object
Inherits From: expected_type
google.appengine.ext.db.TimeProperty.data_type(
*args, **kwargs
)
All arguments are optional. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments may be ints.
Attributes | |
---|---|
fold
|
|
hour
|
|
microsecond
|
|
minute
|
|
second
|
|
tzinfo
|
Methods
dst
dst()
Return self.tzinfo.dst(self).
fromisoformat
fromisoformat()
string -> time from time.isoformat() output
isoformat
isoformat()
Return string in ISO 8601 format, [HH[:MM[:SS[.mmm[uuu]]]]][+HH:MM].
The optional argument timespec specifies the number of additional terms of the time to include. Valid options are 'auto', 'hours', 'minutes', 'seconds', 'milliseconds' and 'microseconds'.
replace
replace()
Return time with new specified fields.
strftime
strftime()
format -> strftime() style string.
tzname
tzname()
Return self.tzinfo.tzname(self).
utcoffset
utcoffset()
Return self.tzinfo.utcoffset(self).
__eq__
__eq__(
value, /
)
Return self==value.
__ge__
__ge__(
value, /
)
Return self>=value.
__gt__
__gt__(
value, /
)
Return self>value.
__le__
__le__(
value, /
)
Return self<=value.
__lt__
__lt__(
value, /
)
Return self<value.
__ne__
__ne__(
value, /
)
Return self!=value.
Class Variables | |
---|---|
max |
Instance of google.appengine.ext.db.TimeProperty.data_type
|
min |
Instance of google.appengine.ext.db.TimeProperty.data_type
|
resolution |
Instance of datetime.timedelta
|