DATAKIT API  V2025.2
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 int &inDay, const int &inMonth, const int &iYear)
 

Friends

bool operator== (IfcCalendarDate const &lhs, IfcCalendarDate const &rhs)
 

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

Base 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

Friends And Related Function Documentation

◆ operator==

bool operator== ( IfcCalendarDate const &  lhs,
IfcCalendarDate const &  rhs 
)
friend
95  {
96  return lhs.day == rhs.day && lhs.month == rhs.month && lhs.year == rhs.year;
97  };