DATAKIT API  V2025.1
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 ()
 Base constructor. More...
 
 IfcCalendarDate (const IfcCalendarDate &inDate)
 Copy constructor. More...
 
 IfcCalendarDate (const int &inDay, const int &inMonth, const int &iYear)
 
Dtk_bool operator== (IfcCalendarDate d)
 
 ~IfcCalendarDate ()
 Destructor. More...
 

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/3]

Ifcw::IfcCalendarDate::IfcCalendarDate ( )

Base constructor.

◆ IfcCalendarDate() [2/3]

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

◆ IfcCalendarDate() [3/3]

Ifcw::IfcCalendarDate::IfcCalendarDate ( const IfcCalendarDate inDate)

Copy constructor.

◆ ~IfcCalendarDate()

Ifcw::IfcCalendarDate::~IfcCalendarDate ( )

Destructor.

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

◆ operator==()

Dtk_bool Ifcw::IfcCalendarDate::operator== ( IfcCalendarDate  d)
106  {
107  return day == d.day && month == d.month && year == d.year;
108  };