Difference between revisions of "Unit Timezone"

From Ultibo.org
Jump to: navigation, search
Line 276: Line 276:
 
<pre style="border: 0; padding-bottom:0px;">function TimezoneSetDefault(Timezone:PTimezoneEntry):LongWord;</pre>
 
<pre style="border: 0; padding-bottom:0px;">function TimezoneSetDefault(Timezone:PTimezoneEntry):LongWord;</pre>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Set the current default timezone</div>
 
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Set the current default timezone</div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
! '''Note'''
 +
| To be documented
 +
|-
 +
|}
 +
</div></div>
 +
<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 +
<pre style="border: 0; padding-bottom:0px;">function TimezoneCheck(Timezone:PTimezoneEntry):PTimezoneEntry;</pre>
 +
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Check if the supplied Timezone is in the Timezone table</div>
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 
{| class="wikitable" style="font-size: 14px; background: white;"
 
{| class="wikitable" style="font-size: 14px; background: white;"

Revision as of 03:29, 9 September 2016

Return to Unit Reference


Description


To be documented

Constants


To be documented

Type definitions


To be documented

Public variables


To be documented

Function declarations


Initialization functions

procedure TimezoneInit;
Description: To be documented
Note To be 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 To be documented


function TimezoneDelete(Timezone:PTimezoneEntry):LongWord;
Description: To be documented
Note To be documented


function TimezoneGetName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note To be documented


function TimezoneGetDescription(Timezone:PTimezoneEntry):String;
Description: To be documented
Note To be documented


function TimezoneGetBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note To be documented


function TimezoneGetState(Timezone:PTimezoneEntry):LongWord;
Description: To be documented
Note To be documented


function TimezoneGetActiveBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note To be documented


function TimezoneGetStandardName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note To be documented


function TimezoneGetStandardBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note To be documented


function TimezoneGetStandardDate(Timezone:PTimezoneEntry; Next:Boolean):TDateTime;
Description: To be documented
Note To be documented


function TimezoneGetStandardStart(Timezone:PTimezoneEntry):TSystemTime;
Description: To be documented
Note To be documented


function TimezoneGetDaylightName(Timezone:PTimezoneEntry):String;
Description: To be documented
Note To be documented


function TimezoneGetDaylightBias(Timezone:PTimezoneEntry):LongInt;
Description: To be documented
Note To be documented


function TimezoneGetDaylightDate(Timezone:PTimezoneEntry; Next:Boolean):TDateTime;
Description: To be documented
Note To be documented


function TimezoneGetDaylightStart(Timezone:PTimezoneEntry):TSystemTime;
Description: To be documented
Note To be documented


function TimezoneFind(const Name:String):PTimezoneEntry;
Description: To be documented
Note To be documented


function TimezoneEnumerate(Callback:TTimezoneEnumerate; Data:Pointer):LongWord;
Description: To be documented
Note To be documented


Timezone helper functions

function TimezoneGetCount:LongWord; inline;
Description: Get the current timezone count
Note To be documented


function TimezoneGetDefault:PTimezoneEntry; inline;
Description: Get the current default timezone
Note To be documented


function TimezoneSetDefault(Timezone:PTimezoneEntry):LongWord;
Description: Set the current default timezone
Note To be documented


function TimezoneCheck(Timezone:PTimezoneEntry):PTimezoneEntry;
Description: Check if the supplied Timezone is in the Timezone table
Note To be documented


Return to Unit Reference