Version: 1.2.0.2

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')

tuple() -> empty tuple tuple(iterable) -> tuple 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')

tuple() -> empty tuple tuple(iterable) -> tuple 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')

tuple() -> empty tuple tuple(iterable) -> tuple initialized from iterable’s items

If the argument is a tuple, the return value is the same object.