DATAKIT API  V2025.4
Ifcw::IfcCalendarDate Class Reference

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

Public Member Functions

int GetDay () const
 Getter for the date day. More...
 
int GetMonth () const
 Getter for the date month. More...
 
int GetYear () const
 Getter for the date year. More...
 
 IfcCalendarDate ()
 Default constructor. More...
 
 IfcCalendarDate (const int &inDay, const int &inMonth, const int &iYear)
 

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::IfcCalendarDate::IfcCalendarDate ( )

Default constructor.

◆ IfcCalendarDate() [2/2]

Ifcw::IfcCalendarDate::IfcCalendarDate ( const int &  inDay,
const int &  inMonth,
const int &  iYear 
)

Member Function Documentation

◆ GetDay()

int Ifcw::IfcCalendarDate::GetDay ( ) const

Getter for the date day.

Returns
The date day

◆ GetMonth()

int Ifcw::IfcCalendarDate::GetMonth ( ) const

Getter for the date month.

Returns
The date month

◆ GetYear()

int Ifcw::IfcCalendarDate::GetYear ( ) const

Getter for the date year.

Returns
The date year