pydicom.valuerep.TM¶
- class pydicom.valuerep.TM(*args: Any, **kwargs: Any)[source]¶
Store value for an element with VR TM as
datetime.time.Note that the
datetime.timebase class is immutable.Methods
__init__(*args, **kwargs)dstReturn self.tzinfo.dst(self).
fromisoformatstring -> time from time.isoformat() output
isoformatReturn string in ISO 8601 format, [HH[:MM[:SS[.mmm[uuu]]]]][+HH:MM].
replaceReturn time with new specified fields.
strftimeformat -> strftime() style string.
tznameReturn self.tzinfo.tzname(self).
utcoffsetReturn self.tzinfo.utcoffset(self).
Attributes
foldhourmaxmicrosecondminminuteresolutionsecondtzinfooriginal_string