Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32std.h>
Link against: euser.lib

Class TDayNameAbb

class TDayNameAbb : public TBuf< KMaxDayNameAbb >;

Description

Gets a copy of the current locale's abbreviated text name for a day of the week.

After construction or after a call to TDayNameAbb::Set(TDay), the copy of the abbreviated text can be accessed and manipulated using the standard descriptor member functions provided by the base class.

The abbreviated day name cannot be assumed to be one character. In English, it is 3 characters (Mon, Tue, Wed etc.), but the length can vary from locale to locale, with a maximum length of KMaxDayNameAbb.

Derivation

Members

Defined in TDayNameAbb:


Construction and destruction


TDayNameAbb()

IMPORT_C TDayNameAbb();

Description

Default constructor.

It constructs this object and initialises it with the current locale's abbreviated text for Monday.


TDayNameAbb(TDay)

IMPORT_C TDayNameAbb(TDay aDay);

Description

Constructs this object and initialises it with the current locale's abbreviated text for the specified day of the week.

Parameters

TDay aDay

An enumerator identifying the day of the week.

[Top]


Member functions


Set(TDay)

IMPORT_C void Set(TDay aDay);

Description

Re-retrieves the current locale's abbreviated text for the specified day of the week.

Parameters

TDay aDay

Identifies the day of the week.

Panic codes

USER

184, if the specified day is outside the permitted range.