|
||
class TInternetDate;
Stores dates in universal time and provides parsing of internet style dates into TDateTime
and RFC 1123 (updates RFC 822) dates.
Supports parsing of the following date formats: Sun, 06 Nov 1994 08:49:37 GMT ; RFC 822, updated by RFC 1123 Sunday, 06-Nov-94 08:49:37 GMT ; RFC 850, obsoleted by RFC 1036 Sun Nov 6 08:49:37 1994 ; ANSI C's asctime() format
All dates are store relative to Universal Time
and not local time.
Defined in TInternetDate
:
DateTime()
Used to access the date/timeERfc1123Format
Rfc 1123 Compliant date formatInternetDateTimeL(TInternetDateFormat)
Used to access the date/time in a text formateSetDateL(const TDesC8 &)
Used to set a date which is in a Internet form.TInternetDate()
Intended Usage: Default Constructor. Used when setting dates that are in a text ...TInternetDate(TDateTime)
Intended Usage: Constructor. Used when setting a date that you later want parsed...TInternetDateFormat
Enum defining internet date formats. inline TInternetDate();
Intended Usage: Default Constructor. Used when setting dates that are in a text format using SetDateL
inline TInternetDate(TDateTime aUniversalTime);
Intended Usage: Constructor. Used when setting a date that you later want parsed into an internet text format
|
IMPORT_C void SetDateL(const TDesC8 &aDate);
Used to set a date which is in a Internet form.
|
|
IMPORT_C const TDateTime& DateTime();
Used to access the date/time
|
IMPORT_C HBufC8* InternetDateTimeL(TInternetDateFormat aInternetDateFormat);
Used to access the date/time in a text formate
|
|
|
TInternetDateFormat
Enum defining internet date formats.
|