Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class TAmPmName

class TAmPmName : public TBuf< KMaxAmPmName >;

Description

Current locale's am/pm text

This class retrieves a copy of the current locale's text identifying time before and after noon. In English, this is am and pm.

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

Derivation

Members

Defined in TAmPmName:


Construction and destruction


TAmPmName()

IMPORT_C TAmPmName();

Description

Default constructor.

It constructs this object and initialises it with the current locale's text for identifying time before noon.


TAmPmName(TAmPm)

IMPORT_C TAmPmName(TAmPm aSelector);

Description

Constructs this object and initialises it with the current locale's text for identifying time before or after noon as identified by the specified selector.

Parameters

TAmPm aSelector

The am/pm selector.

[Top]


Member functions


Set(TAmPm)

IMPORT_C void Set(TAmPm aSelector);

Description

Re-retrieves the current locale's text for identifying time before or after noon as identified by the specified selector.

Parameters

TAmPm aSelector

The am/pm selector.

Panic codes

USER

69, if aDateSuffix is outside the range 0 to 30.