Version: 1.2.0.11
stix.common.datetimewithprecision Module¶
Classes¶
-
class
stix.common.datetimewithprecision.DateTimeWithPrecision(value=None, precision='second')¶ Bases:
stix.base.Entity
Constants¶
-
stix.common.datetimewithprecision.DATE_PRECISION_VALUES= ('year', 'month', 'day')¶ Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.
-
stix.common.datetimewithprecision.TIME_PRECISION_VALUES= ('hour', 'minute', 'second')¶ Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.
-
stix.common.datetimewithprecision.DATETIME_PRECISION_VALUES= ('year', 'month', 'day', 'hour', 'minute', 'second')¶ Built-in immutable sequence.
If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.
If the argument is a tuple, the return value is the same object.