xbrl.formula.PeriodRule.Duration¶
An xbrl.formula.PeriodRule.Duration class represents the <formula:duration> child element of a period rule.
-
class
xbrl.formula.PeriodRule.Duration¶ Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a
NotImplementedErrorexception.
Attributes¶
-
xbrl.formula.PeriodRule.Duration.element¶ Returns an
xml.ElementInformationItemobject which represents the <formula:duration> element information item.
-
xbrl.formula.PeriodRule.Duration.end¶ If the <formula:duration> element has a @end attribute, an
xbrl.XPathExpressionobject is returned. Otherwise None is returned.
-
xbrl.formula.PeriodRule.Duration.start¶ If the <formula:duration> element has a @start attribute, an
xbrl.XPathExpressionobject is returned. Otherwise None is returned.
Special methods¶
__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__