Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: calconv.h
Link against: ccon.lib

Class TArithmeticalDate

TArithmeticalDate

Support

Supported from 6.1

Description

Arithmetically-based date.

Used by the Gregorian calendar. Its public member data is the year, month and day.

Defined in TArithmeticalDate:
TArithmeticalDate(), iDay, iMonth, iYear, operator==()

See also:


Member functions


TArithmeticalDate()

TArithmeticalDate();

Description

Empty default constructor.


operator==()

TBool operator==(const TArithmeticalDate& aDate) const;

Description

Equality operator.

Parameters

const TArithmeticalDate& aDate

The date to compare with this date.

Return value

TBool

ETrue if the two dates are the same, EFalse if not.

[Top]


Member data


iDay

TInt iDay;

Description

The day in the month. From 1 to 28/29/30/31. Note that this differs from the TDateTime representation of the day, which begins at zero.


iMonth

TInt iMonth;

Description

The month. From 1 to 12. Note that this differs from the TDateTime representation of the month, where January is zero.


iYear

TInt iYear;

Description

The year.