#include <e32std.h>
class TAmPmName : public TBuf< KMaxAmPmName > |
Public Member Functions | |
---|---|
TAmPmName() | |
TAmPmName(TAmPm) | |
IMPORT_C void | Set(TAmPm) |
Inherited Attributes | |
---|---|
TDes16::__DECLARE_TEST | |
TDes16::iMaxLength |
Inherited Enumerations | |
---|---|
TDesC16:TPrefix |
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.
IMPORT_C | TAmPmName | ( | ) |
Default constructor.
It constructs this object and initialises it with the current locale's text for identifying time before noon.
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.
Parameters | |
---|---|
aSelector | The am/pm 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.
Parameters | |
---|---|
aSelector | The am/pm selector. |
Panic Codes | |
---|---|
USER | 69, if aDateSuffix is outside the range 0 to 30. |