Difference between revisions of "Unit Timezone"
From Ultibo.org
Line 53: | Line 53: | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
=== Function declarations === | === Function declarations === |
Revision as of 02:21, 30 December 2016
Return to Unit Reference
Description
Ultibo Timezone interface unit
To be documented
Constants
Timezone specific constants
TIME_ZONE_*
TIME_ZONE_ID_UNKNOWN = 0;
|
|
TIME_ZONE_ID_STANDARD = 1;
|
|
TIME_ZONE_ID_DAYLIGHT = 2;
|
|
TIME_ZONE_ID_INVALID = DWORD($FFFFFFFF);
|
Timezone signature constants
TIMEZONE_SIGNATURE_*
TIMEZONE_SIGNATURE = $ED9A1BC3;
|
Type definitions
To be documented
Public variables
None defined
Function declarations
Initialization functions
procedure TimezoneInit;
Description: To be documented
Note | None documented |
---|
Timezone functions
function TimezoneAdd(Data:PTimezoneData; Default:Boolean):LongWord;
Description: Add a Timezone from a timezone data block and to the Timezone table
Note | None documented |
---|
function TimezoneDelete(Timezone:PTimezoneEntry):LongWord;
Description: To be documented
Note | None documented |
---|
function TimezoneGetName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note | None documented |
---|
function TimezoneGetDescription(Timezone:PTimezoneEntry):String;
Description: To be documented
Note | None documented |
---|
function TimezoneGetBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note | None documented |
---|
function TimezoneGetState(Timezone:PTimezoneEntry):LongWord;
Description: To be documented
Note | None documented |
---|
function TimezoneGetActiveBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note | None documented |
---|
function TimezoneGetStandardName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note | None documented |
---|
function TimezoneGetStandardBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note | None documented |
---|
function TimezoneGetStandardDate(Timezone:PTimezoneEntry; Next:Boolean):TDateTime;
Description: To be documented
Note | None documented |
---|
function TimezoneGetStandardStart(Timezone:PTimezoneEntry):TSystemTime;
Description: To be documented
Note | None documented |
---|
function TimezoneGetDaylightName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note | None documented |
---|
function TimezoneGetDaylightBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note | None documented |
---|
function TimezoneGetDaylightDate(Timezone:PTimezoneEntry; Next:Boolean):TDateTime;
Description: To be documented
Note | None documented |
---|
function TimezoneGetDaylightStart(Timezone:PTimezoneEntry):TSystemTime;
Description: To be documented
Note | None documented |
---|
function TimezoneFind(const Name:String):PTimezoneEntry;
Description: To be documented
Note | None documented |
---|
function TimezoneEnumerate(Callback:TTimezoneEnumerate; Data:Pointer):LongWord;
Description: To be documented
Note | None documented |
---|
Timezone helper functions
function TimezoneGetCount:LongWord; inline;
Description: Get the current timezone count
Note | None documented |
---|
function TimezoneGetDefault:PTimezoneEntry; inline;
Description: Get the current default timezone
Note | None documented |
---|
function TimezoneSetDefault(Timezone:PTimezoneEntry):LongWord;
Description: Set the current default timezone
Note | None documented |
---|
function TimezoneCheck(Timezone:PTimezoneEntry):PTimezoneEntry;
Description: Check if the supplied Timezone is in the Timezone table
Note | None documented |
---|
function TimezoneUpdateOffset:LongWord;
Description: To be documented
Note | None documented |
---|
function TimezoneStartToDateTime(const AStart:TSystemTime; AYear:Word):TDateTime;
Description: Calculate the start date and time from the start date of a timezone
Note | None documented |
---|
function TimezoneStartToDescription(const AStart:TSystemTime):String;
Description: Get the description of the start date of a timezone
Note | None documented |
---|
function TimezoneNameReplaceChar(const AName:String; AChar,AReplace:Char):String;
Description: Same as ReplaceChar in UltiboUtils, reproduced here to avoid including extra units
Note | None documented |
---|
Return to Unit Reference