Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: e32std.h
Link against: euser.lib

Class TAmPmName

TAmPmName

Support

Supported from 5.0

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.

Derivation

TAmPmNameCurrent locale's am/pm text
TBufBuild-independent modifiable buffer descriptor
TDes16Modifiable 16 bit descriptor; abstract class
TDesC16Abstract base class for 16 bit descriptors

Defined in TAmPmName:
Set(), TAmPmName()

Inherited from TBuf:
operator=

Inherited from TDes16:
Append(), AppendFill(), AppendFormat(), AppendFormatList(), AppendJustify(), AppendNum(), AppendNumFixedWidth(), AppendNumFixedWidthUC(), AppendNumUC(), Capitalize(), Collate(), Copy(), CopyC(), CopyCP(), CopyF(), CopyLC(), CopyUC(), Delete(), Fill(), FillZ(), Fold(), Format(), FormatList(), Insert(), Justify(), LowerCase(), MaxLength(), MaxSize(), Num(), NumFixedWidth(), NumFixedWidthUC(), NumUC(), PtrZ(), Repeat(), Replace(), SetLength(), SetMax(), Swap(), Trim(), TrimAll(), TrimLeft(), TrimRight(), UpperCase(), Zero(), ZeroTerminate(), operator+=(), operator[]()

Inherited from TDesC16:
Alloc(), AllocL(), AllocLC(), Compare(), CompareC(), CompareF(), Find(), FindC(), FindF(), Left(), Length(), Locate(), LocateF(), LocateReverse(), LocateReverseF(), Match(), MatchC(), MatchF(), Mid(), Ptr(), Right(), Size(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=()


Construction


TAmPmName()

TAmPmName();

Description

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


TAmPmName()

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]


Explicit retrieval


Set()

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