CalenDateUtils Class Reference

class CalenDateUtils

Constructor & Destructor Documentation

CalenDateUtils()

CalenDateUtils ( ) [private]

Member Functions Documentation

BeginningOfDay(const TTime &)

IMPORT_C TTime BeginningOfDay ( const TTime & aStartTime ) [static]

Parameters

const TTime & aStartTime Time representing the day for which the beginning is needed

DefaultTime(const TTime &)

IMPORT_C TTime DefaultTime ( const TTime & aDate ) [static]

Parameters

const TTime & aDate The date for reference

DisplayTimeOnDay(const TTime &, const TTime &)

IMPORT_C TTime DisplayTimeOnDay ( const TTime & aStartTime,
const TTime & aDay
) [static]

Parameters

const TTime & aStartTime The time to be checked
const TTime & aDay The day to be used as reference

GetDayRangeL(const TTime &, const TTime &, CalCommon::TCalTimeRange &)

IMPORT_C void GetDayRangeL ( const TTime & aStartDay,
const TTime & aEndDay,
CalCommon::TCalTimeRange & aRange
) [static]

Parameters

const TTime & aStartDay Day for the range start
const TTime & aEndDay Day for the range end
CalCommon::TCalTimeRange & aRange The range returned

IsNullTimeL(TCalTime &)

IMPORT_C TBool IsNullTimeL ( TCalTime & aTime ) [static]

Parameters

TCalTime & aTime Time to be compared against NULL time

IsOnToday(const TTime &)

IMPORT_C TBool IsOnToday ( const TTime & aTime ) [static]

Parameters

const TTime & aTime The time to check for

IsValidDay(const TTime &)

IMPORT_C TBool IsValidDay ( const TTime & aTime ) [static]

Parameters

const TTime & aTime aTime to be checked

LimitToValidTime(const TTime &)

IMPORT_C TTime LimitToValidTime ( const TTime & aTime ) [static]

Parameters

const TTime & aTime Time to be checked

MaxTime()

IMPORT_C TTime MaxTime ( ) [static]

MinTime()

IMPORT_C TTime MinTime ( ) [static]

Now()

IMPORT_C TTime Now ( ) [static]

OnSameDay(const TTime &, const TTime &)

IMPORT_C TBool OnSameDay ( const TTime & aX,
const TTime & aY
) [static]

Parameters

const TTime & aX Time being compared with
const TTime & aY Time to compare with

OnSameMonth(const TTime &, const TTime &)

IMPORT_C TBool OnSameMonth ( const TTime & aX,
const TTime & aY
) [static]

Parameters

const TTime & aX Time being compared with
const TTime & aY Time to compare with

RoundToPreviousHour(const TTime &)

IMPORT_C TTime RoundToPreviousHour ( const TTime & aTime ) [static]

Parameters

const TTime & aTime The time to round off

RoundToPreviousHour(const TTimeIntervalMinutes &)

IMPORT_C TTimeIntervalMinutes RoundToPreviousHour ( const TTimeIntervalMinutes & aMinutes ) [static]

Parameters

const TTimeIntervalMinutes & aMinutes The minute to round off

TimeOfDay(const TTime &)

IMPORT_C TTimeIntervalMinutes TimeOfDay ( const TTime & aDateTime ) [static]

Parameters

const TTime & aDateTime The reference time

TimeRangesIntersect(const TTime &, const TTime &, const TTime &, const TTime &)

IMPORT_C TBool TimeRangesIntersect ( const TTime & aXStart,
const TTime & aXEnd,
const TTime & aYStart,
const TTime & aYEnd
) [static]

Parameters

const TTime & aXStart Start time of first time range
const TTime & aXEnd End time of first time range
const TTime & aYStart Start time of second time range
const TTime & aYEnd End time of second time range

Today()

IMPORT_C TTime Today ( ) [static]

operator=(const CalenDateUtils &)

CalenDateUtils & operator= ( const CalenDateUtils & ) [private]

Parameters

const CalenDateUtils &