pydicom.valuerep.TM¶
- class pydicom.valuerep.TM(val)¶
Store value for an element with VR TM as
datetime.time
.Note that the
datetime.time
base class is immutable.- __init__(val)¶
Methods
__init__
(val)dst
Return self.tzinfo.dst(self).
fromisoformat
string -> time from time.isoformat() output
isoformat
Return string in ISO 8601 format, [HH[:MM[:SS[.mmm[uuu]]]]][+HH:MM].
replace
Return time with new specified fields.
strftime
format -> strftime() style string.
tzname
Return self.tzinfo.tzname(self).
utcoffset
Return self.tzinfo.utcoffset(self).
Attributes
original_string
fold
hour
max
microsecond
min
minute
resolution
second
tzinfo