beta.xbrl.xule.Instant
¶
A beta.xbrl.xule.Instant
class represents a date (-time) value in the XULE type system.
Base class: beta.xbrl.xule.Value
- class beta.xbrl.xule.Instant(value)¶
Constructs a new
beta.xbrl.xule.Instant
value object from a str, datetime.date or datetime.datetime argument.
Attributes¶
- beta.xbrl.xule.Value.location
Returns a
beta.xbrl.xule.Location
object that represents the underlying source XBRL fact, concept, relationship, … of this XULE value.
- beta.xbrl.xule.Instant.value¶
Returns a datetime.datetime object that represents the underlying XULE value.
Methods¶
- beta.xbrl.xule.Value.property(name)
Returns the given property as a
beta.xbrl.xule.Value
object.
Special methods¶
__bool__, __eq__, __float__, __ge__, __gt__, __int__, __le__, __lt__, __ne__