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

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

#include <e32std.h>

Inheritance diagram for TDayNameAbb:
TBuf< KMaxDayNameAbb >

Public Member Functions

IMPORT_C TDayNameAbb ()
 Default constructor.
 
IMPORT_C TDayNameAbb (TDay aDay)
 Constructs this object and initialises it with the current locale's abbreviated text for the specified day of the week.
 
IMPORT_C void Set (TDay aDay)
 Re-retrieves the current locale's abbreviated text for the specified day of the week.
 
- Public Member Functions inherited from TBuf< KMaxDayNameAbb >
 TBuf ()
 Creates a build-independent modifiable buffer descriptor which contains no data.
 
 TBuf (TInt aLength)
 Constructs an empty build independent modifiable buffer descriptor and sets its length to the specified value.
 
 TBuf (const TText *aString)
 Constructs the build-independent modifiable buffer descriptor from a zero terminated string.
 
 TBuf (const TDesC &aDes)
 Constructs the build-independent modifiable buffer descriptor from any existing build-independent descriptor.
 
TBuf< S > & operator= (const TText *aString)
 
TBuf< S > & operator= (const TDesC &aDes)
 Copies data into this descriptor replacing any existing data.
 
TBuf< S > & operator= (const TBuf< S > &aBuf)
 

Detailed 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 Set(), 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.

See also
KMaxDayNameAbb
API status
Published to all clients. Released API.

Definition at line 2042 of file e32std.h.

Constructor & Destructor Documentation

◆ TDayNameAbb() [1/2]

IMPORT_C TDayNameAbb::TDayNameAbb ( )

Default constructor.

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

(generated from Symbian Developer Library)

◆ TDayNameAbb() [2/2]

IMPORT_C TDayNameAbb::TDayNameAbb ( TDay  aDay)

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

Parameters
aDayAn enumerator identifying the day of the week.

(generated from Symbian Developer Library)

Member Function Documentation

◆ Set()

IMPORT_C void TDayNameAbb::Set ( TDay  aDay)

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

Parameters
aDayIdentifies the day of the week.

Panic condition: USER 184, if the specified day is outside the permitted range.

(generated from Symbian Developer Library)


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