Show: Delphi C++
Display Preferences

System.DateUtils.TLocalTimeType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TLocalTimeType = (
{ Identifies a date/time value when DST rules are not in effect }
lttStandard,
{ Identifies a date/time value when DST rules are in effect }
lttDaylight,
{ Identifies a date/time value situated in the ambiguous interval (ex. in the repeating hour) }
lttAmbiguous,
{ Identifies a date/time value situated in the invalid interval (in the missing hour) }
lttInvalid
);

C++

enum DECLSPEC_DENUM TLocalTimeType : unsigned char { lttStandard, lttDaylight, lttAmbiguous, lttInvalid };

Properties

Type Visibility Source Unit Parent
enum public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

Description

Specifies the type of a date and time value.

The TLocalTimeType enumeration specifies the type of a date and time value as follows:


Value Meaning

lttStandard

Identifies a date and time value when DST (Daylight Savings Time) rules are not in effect.

lttDaylight

Identifies a date and time value when DST (Daylight Savings Time) rules are in effect.

lttAmbiguous

Identifies a date and time value situated in the ambiguous interval (for example, in the repeating hour).

lttInvalid

Identifies a date and time value situated in the invalid interval (in the missing hour).


Note: When the DST (Daylight Savings Time) rules are in effect, the local time for a time zone is either set back or moved forward with one hour. For example: in 2010 in Romania, daylight saving time begins on March 28 (the last Sunday of March), ends on October 31 (the last Sunday of October), and time changes are taking place at 2:00 A.M. local time. Both on March 28 and October 31, a time value between 2:00 A.M. (0200) and 3:00 A.M. (0300) is an ambiguous time value, since the hour after 2:59:59 A.M. becomes either 2:00 A.M. (on March 28) or 4:00 A.M. (October 31).
Personal tools
In Other Languages
Previous Versions
Assistance