Class Ifc4x3_rc1::IfcDateTime

Nested Relationships

This class is a nested type of Struct Ifc4x3_rc1.

Inheritance Relationships

Base Type

Class Documentation

class Ifc4x3_rc1::IfcDateTime : public IfcUtil::IfcBaseType

This lexical representation is the [ISO 8601] extended format CCYY-MM-DDThh:mm:ss where “CC” represents the century, “YY” the year, “MM” the month and “DD” the day, preceded by an optional leading “-” sign to indicate a negative number. If the sign is omitted, “+” is assumed. The letter “T” is the date/time separator and “hh”, “mm”, “ss” represent hour, minute and second respectively. Additional digits can be used to increase the precision of fractional seconds if desired i.e the format ss.ss… with any number of digits after the decimal point is supported. The fractional seconds part is optional; other parts of the lexical form are not optional. To accommodate year values greater than 9999 additional digits can be added to the left of this representation. Leading zeros are required if the year value would otherwise have fewer than four digits; otherwise they are forbidden. The year 0000 is prohibited.

HISTORY: New type in IFC2x4

Public Functions

const IfcParse::type_declaration &declaration() const
IfcDateTime(IfcEntityInstanceData *e)
IfcDateTime(std::string v)
operator std::string() const

Public Static Functions

const IfcParse::type_declaration &Class()