DATAKIT SDK  V2026.3
Ifcw::typing::IfcCalendarDate Class Reference

This class represents an IFC date.
. More...

Public Member Functions

Dtk_Char8 GetDay () const
 Getter for the date day. More...
 
Dtk_Char8 GetMonth () const
 Getter for the date month. More...
 
Dtk_Int32 GetYear () const
 Getter for the date year. More...
 
 IfcCalendarDate ()
 Default constructor. More...
 
 IfcCalendarDate (Dtk_Char8 inDay, Dtk_Char8 inMonth, Dtk_Int32 inYear)
 

Detailed Description

This class represents an IFC date.
.

Remarks
Definition from ISO/CD 10303-41:1992: A date which is defined by a day in a month of a year.

Constructor & Destructor Documentation

◆ IfcCalendarDate() [1/2]

Ifcw::typing::IfcCalendarDate::IfcCalendarDate ( )

Default constructor.

◆ IfcCalendarDate() [2/2]

Ifcw::typing::IfcCalendarDate::IfcCalendarDate ( Dtk_Char8  inDay,
Dtk_Char8  inMonth,
Dtk_Int32  inYear 
)

Member Function Documentation

◆ GetDay()

Dtk_Char8 Ifcw::typing::IfcCalendarDate::GetDay ( ) const

Getter for the date day.

Returns
The date day
165  {
166  return day;
167  }

◆ GetMonth()

Dtk_Char8 Ifcw::typing::IfcCalendarDate::GetMonth ( ) const

Getter for the date month.

Returns
The date month
171  {
172  return month;
173  }

◆ GetYear()

Dtk_Int32 Ifcw::typing::IfcCalendarDate::GetYear ( ) const

Getter for the date year.

Returns
The date year
177  {
178  return year;
179  }