Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
Time Class Reference

A utility class whose functions may be used by the other date/time related classes. More...

#include <e32std.h>

Static Public Member Functions

static IMPORT_C TTime NullTTime ()
 Gets a TTime with a null value.
 
static IMPORT_C TTime MaxTTime ()
 Gets the maximum time value which can be held in a TTime object.
 
static IMPORT_C TTime MinTTime ()
 Gets the minimum time value which can be held in a TTime object.
 
static IMPORT_C TInt DaysInMonth (TInt aYear, TMonth aMonth)
 Gets the number of days in a month.
 
static IMPORT_C TBool IsLeapYear (TInt aYear)
 Tests whether a year is a leap year.
 
static IMPORT_C TInt LeapYearsUpTo (TInt aYear)
 Gets the number of leap years between 0 AD nominal Gregorian and the specified year - inclusive.
 

Detailed Description

A utility class whose functions may be used by the other date/time related classes.

API status
Published to all clients. Released API.

Definition at line 1984 of file e32std.h.

Member Function Documentation

◆ DaysInMonth()

static IMPORT_C TInt Time::DaysInMonth ( TInt  aYear,
TMonth  aMonth 
)
static

Gets the number of days in a month.

Parameters
aYearThe year. Must be specified because of leap years.
aMonthMonth, from EJanuary to EDecember.

(generated from Symbian Developer Library)

◆ IsLeapYear()

static IMPORT_C TBool Time::IsLeapYear ( TInt  aYear)
static

Tests whether a year is a leap year.

Parameters
aYearThe year of interest.

(generated from Symbian Developer Library)

◆ LeapYearsUpTo()

static IMPORT_C TInt Time::LeapYearsUpTo ( TInt  aYear)
static

Gets the number of leap years between 0 AD nominal Gregorian and the specified year - inclusive.

Parameters
aYearThe final year in the range to search. If negative, the function will return a negative number of leap years.

(generated from Symbian Developer Library)

◆ MaxTTime()

static IMPORT_C TTime Time::MaxTTime ( )
static

Gets the maximum time value which can be held in a TTime object.

(generated from Symbian Developer Library)

◆ MinTTime()

static IMPORT_C TTime Time::MinTTime ( )
static

Gets the minimum time value which can be held in a TTime object.

(generated from Symbian Developer Library)

◆ NullTTime()

static IMPORT_C TTime Time::NullTTime ( )
static

Gets a TTime with a null value.

(generated from Symbian Developer Library)


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