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

Current locale's am/pm text. More...

#include <e32std.h>

Inheritance diagram for TAmPmName:
TBuf< KMaxAmPmName >

Public Member Functions

IMPORT_C TAmPmName ()
 Default constructor.
 
IMPORT_C TAmPmName (TAmPm aSelector)
 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.
 
IMPORT_C void Set (TAmPm aSelector)
 Re-retrieves the current locale's text for identifying time before or after noon as identified by the specified selector.
 
- Public Member Functions inherited from TBuf< KMaxAmPmName >
 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

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 Set(), the copy of the text can be accessed and manipulated using the standard descriptor member functions provided by the base class.

API status
Published to all clients. Released API.

Definition at line 2145 of file e32std.h.

Constructor & Destructor Documentation

◆ TAmPmName() [1/2]

IMPORT_C TAmPmName::TAmPmName ( )

Default constructor.

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

(generated from Symbian Developer Library)

◆ TAmPmName() [2/2]

IMPORT_C TAmPmName::TAmPmName ( TAmPm  aSelector)

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
aSelectorThe am/pm selector.

(generated from Symbian Developer Library)

Member Function Documentation

◆ Set()

IMPORT_C void TAmPmName::Set ( TAmPm  aSelector)

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

Parameters
aSelectorThe am/pm selector.

Panic condition: USER 69, if aDateSuffix is outside the range 0 to 30.

(generated from Symbian Developer Library)


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