iaux::iaDate Class Reference

#include <iaDate.h>

Public Member Functions

 iaDate ()=default
 
 iaDate (uint32 day, uint32 month, uint32 year)
 
 iaDate (const iaDate &other)
 
uint32 getDay () const
 
uint32 getMonth () const
 
uint32 getYear () const
 
bool operator== (const iaDate &other) const
 
bool operator!= (const iaDate &other) const
 

Static Public Member Functions

static iaDate getToday ()
 

Detailed Description

stores a date

Constructor & Destructor Documentation

◆ iaDate() [1/3]

iaux::iaDate::iaDate ( )
default

ctor

◆ iaDate() [2/3]

iaux::iaDate::iaDate ( uint32  day,
uint32  month,
uint32  year 
)

ctor date

Parameters
daythe day of the date
monththe month of the date
yearthe year of the date

◆ iaDate() [3/3]

iaux::iaDate::iaDate ( const iaDate other)

copy ctor

Member Function Documentation

◆ getDay()

uint32 iaux::iaDate::getDay ( ) const
Returns
day

◆ getMonth()

uint32 iaux::iaDate::getMonth ( ) const
Returns
month

◆ getToday()

iaDate iaux::iaDate::getToday ( )
static
Returns
todays date

◆ getYear()

uint32 iaux::iaDate::getYear ( ) const
Returns
year

◆ operator!=()

bool iaux::iaDate::operator!= ( const iaDate other) const

unequal operator

Returns
true if other is not equal to this
Parameters
otherthe other date to compare to

◆ operator==()

bool iaux::iaDate::operator== ( const iaDate other) const

equal operator

Returns
true if other is equal to this
Parameters
otherthe other date to compare to

The documentation for this class was generated from the following files: