Published synautil.DecodeTimeZone function.

git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@152 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
geby 2012-05-03 09:43:51 +00:00
parent baf3cc9ad7
commit 1e4a1ce0a9

View File

@ -1,5 +1,5 @@
{==============================================================================| {==============================================================================|
| Project : Ararat Synapse | 004.015.000 | | Project : Ararat Synapse | 004.015.001 |
|==============================================================================| |==============================================================================|
| Content: support procedures and functions | | Content: support procedures and functions |
|==============================================================================| |==============================================================================|
@ -122,6 +122,10 @@ function GetMonthNumber(Value: String): integer;
can use "hh:mm" or "hh:mm:ss".} can use "hh:mm" or "hh:mm:ss".}
function GetTimeFromStr(Value: string): TDateTime; function GetTimeFromStr(Value: string): TDateTime;
{:Decode string representation of TimeZone (CEST, GMT, +0200, -0800, etc.)
to timezone offset.}
function DecodeTimeZone(Value: string; var Zone: integer): Boolean;
{:Decode string in format "m-d-y" to TDateTime type.} {:Decode string in format "m-d-y" to TDateTime type.}
function GetDateMDYFromStr(Value: string): TDateTime; function GetDateMDYFromStr(Value: string): TDateTime;