unit Chilkat.CkDateTime;

{
  Pascal wrapper for Chilkat CkDateTime.
  Auto-generated by PascalWrapperGenerator -- do not edit manually.
}

{$IFDEF FPC}
  {$MODE DELPHI}
{$ENDIF}

interface

uses
  SysUtils,
  Chilkat.Base;

type

  { TCkDateTime wraps CkDateTime via the C bridge layer. }
  TCkDateTime = class(TChilkatBase)
  private
    function  GetLastErrorHtml: string;
    function  GetLastErrorText: string;
    function  GetLastErrorXml: string;
    function  GetVersion: string;
    function  GetDebugLogFilePath: string;
    procedure SetDebugLogFilePath(AValue: string);
    function  GetVerboseLogging: Boolean;
    procedure SetVerboseLogging(AValue: Boolean);
    function  GetLastMethodSuccess: Boolean;
    procedure SetLastMethodSuccess(AValue: Boolean);
    function  GetIsDst: Integer;
    function  GetUtcOffset: Integer;
  public
    constructor Create;
    destructor  Destroy; override;

    property LastErrorHtml: string read GetLastErrorHtml;
    property LastErrorText: string read GetLastErrorText;
    property LastErrorXml: string read GetLastErrorXml;
    property Version: string read GetVersion;
    property DebugLogFilePath: string read GetDebugLogFilePath write SetDebugLogFilePath;
    property VerboseLogging: Boolean read GetVerboseLogging write SetVerboseLogging;
    property LastMethodSuccess: Boolean read GetLastMethodSuccess write SetLastMethodSuccess;
    property IsDst: Integer read GetIsDst;
    property UtcOffset: Integer read GetUtcOffset;

    function  AddDays(numDays: Integer): Boolean;
    procedure DeSerialize(const serializedDateTime: string);
    function  GetAsDateTimeTicks(bLocal: Boolean): Int64;
    function  GetAsDosDate(bLocal: Boolean): LongWord;
    function  GetAsOleDate(bLocal: Boolean): Double;
    function  GetAsRfc822(bLocal: Boolean): string;
    function  GetAsUnixTime(bLocal: Boolean): LongWord;
    function  GetAsUnixTime64(bLocal: Boolean): Int64;
    function  GetAsUnixTimeDbl(bLocal: Boolean): Double;
    function  Serialize: string;
    function  SetFromCurrentSystemTime: Boolean;
    function  SetFromDateTimeTicks(bLocal: Boolean; ticks: Int64): Boolean;
    function  SetFromDosDate(bLocal: Boolean; t: LongWord): Boolean;
    function  SetFromDtObj(dt: TChilkatBase): Boolean;
    function  SetFromNtpTime(ntpSeconds: Integer): Boolean;
    function  SetFromOleDate(bLocal: Boolean; dt: Double): Boolean;
    function  SetFromRfc822(const rfc822Str: string): Boolean;
    function  SetFromUnixTime(bLocal: Boolean; t: LongWord): Boolean;
    function  SetFromUnixTime64(bLocal: Boolean; t: Int64): Boolean;
    function  SetFromUnixTimeDbl(bLocal: Boolean; d: Double): Boolean;
    function  SetFromTimestamp(const timestamp: string): Boolean;
    function  GetAsTimestamp(bLocal: Boolean): string;
    function  DiffSeconds(dateTimeArg: TChilkatBase): Integer;
    function  AddSeconds(numSeconds: Integer): Boolean;
    function  GetAsUnixTimeStr(bLocal: Boolean): string;
    function  GetAsIso8601(const formatStr: string; bLocal: Boolean): string;
    function  ExpiresWithin(n: Integer; const units: string): Boolean;
    function  OlderThan(n: Integer; const units: string): Boolean;
    function  UlidValidate(const ulid: string): Boolean;
    function  UlidGenerate(bLocal: Boolean): string;
    function  SetFromUlid(bLocal: Boolean; const ulid: string): Boolean;
    function  UlidIncrement(ulid: TChilkatBase): Boolean;
    function  SetFromNtpServer(const jsonStr: string): Boolean;
    procedure ToDtObj(bLocal: Boolean; dtObj: TChilkatBase);
  end;

implementation

uses
  CkDllLoader,
  Chilkat.Utils;

{ ---- C bridge function pointer types ---- }
type
  TCkDateTime_Create  = function(): Pointer; cdecl;
  TCkDateTime_Dispose = procedure(handle: Pointer); cdecl;
  TCkDateTime_get_LastErrorHtml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_get_LastErrorText = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_get_LastErrorXml = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_get_Version = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_get_DebugLogFilePath = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_put_DebugLogFilePath = procedure(handle: Pointer; value: PAnsiChar); cdecl;
  TCkDateTime_get_VerboseLogging = function(handle: Pointer): LongBool; cdecl;
  TCkDateTime_put_VerboseLogging = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkDateTime_get_LastMethodSuccess = function(handle: Pointer): LongBool; cdecl;
  TCkDateTime_put_LastMethodSuccess = procedure(handle: Pointer; value: LongBool); cdecl;
  TCkDateTime_get_IsDst = function(handle: Pointer): Integer; cdecl;
  TCkDateTime_get_UtcOffset = function(handle: Pointer): Integer; cdecl;
  TCkDateTime_AddDays = function(handle: Pointer; numDays: Integer): LongBool; cdecl;
  TCkDateTime_DeSerialize = procedure(handle: Pointer; serializedDateTime: PAnsiChar); cdecl;
  TCkDateTime_GetAsDateTimeTicks = function(handle: Pointer; bLocal: LongBool): Int64; cdecl;
  TCkDateTime_GetAsDosDate = function(handle: Pointer; bLocal: LongBool): LongWord; cdecl;
  TCkDateTime_GetAsOleDate = function(handle: Pointer; bLocal: LongBool): Double; cdecl;
  TCkDateTime_GetAsRfc822 = function(handle: Pointer; bLocal: LongBool): PAnsiChar; cdecl;
  TCkDateTime_GetAsUnixTime = function(handle: Pointer; bLocal: LongBool): LongWord; cdecl;
  TCkDateTime_GetAsUnixTime64 = function(handle: Pointer; bLocal: LongBool): Int64; cdecl;
  TCkDateTime_GetAsUnixTimeDbl = function(handle: Pointer; bLocal: LongBool): Double; cdecl;
  TCkDateTime_Serialize = function(handle: Pointer): PAnsiChar; cdecl;
  TCkDateTime_SetFromCurrentSystemTime = function(handle: Pointer): LongBool; cdecl;
  TCkDateTime_SetFromDateTimeTicks = function(handle: Pointer; bLocal: LongBool; ticks: Int64): LongBool; cdecl;
  TCkDateTime_SetFromDosDate = function(handle: Pointer; bLocal: LongBool; t: LongWord): LongBool; cdecl;
  TCkDateTime_SetFromDtObj = function(handle: Pointer; dt: Pointer): LongBool; cdecl;
  TCkDateTime_SetFromNtpTime = function(handle: Pointer; ntpSeconds: Integer): LongBool; cdecl;
  TCkDateTime_SetFromOleDate = function(handle: Pointer; bLocal: LongBool; dt: Double): LongBool; cdecl;
  TCkDateTime_SetFromRfc822 = function(handle: Pointer; rfc822Str: PAnsiChar): LongBool; cdecl;
  TCkDateTime_SetFromUnixTime = function(handle: Pointer; bLocal: LongBool; t: LongWord): LongBool; cdecl;
  TCkDateTime_SetFromUnixTime64 = function(handle: Pointer; bLocal: LongBool; t: Int64): LongBool; cdecl;
  TCkDateTime_SetFromUnixTimeDbl = function(handle: Pointer; bLocal: LongBool; d: Double): LongBool; cdecl;
  TCkDateTime_SetFromTimestamp = function(handle: Pointer; timestamp: PAnsiChar): LongBool; cdecl;
  TCkDateTime_GetAsTimestamp = function(handle: Pointer; bLocal: LongBool): PAnsiChar; cdecl;
  TCkDateTime_DiffSeconds = function(handle: Pointer; dateTimeArg: Pointer): Integer; cdecl;
  TCkDateTime_AddSeconds = function(handle: Pointer; numSeconds: Integer): LongBool; cdecl;
  TCkDateTime_GetAsUnixTimeStr = function(handle: Pointer; bLocal: LongBool): PAnsiChar; cdecl;
  TCkDateTime_GetAsIso8601 = function(handle: Pointer; formatStr: PAnsiChar; bLocal: LongBool): PAnsiChar; cdecl;
  TCkDateTime_ExpiresWithin = function(handle: Pointer; n: Integer; units: PAnsiChar): LongBool; cdecl;
  TCkDateTime_OlderThan = function(handle: Pointer; n: Integer; units: PAnsiChar): LongBool; cdecl;
  TCkDateTime_UlidValidate = function(handle: Pointer; ulid: PAnsiChar): LongBool; cdecl;
  TCkDateTime_UlidGenerate = function(handle: Pointer; bLocal: LongBool): PAnsiChar; cdecl;
  TCkDateTime_SetFromUlid = function(handle: Pointer; bLocal: LongBool; ulid: PAnsiChar): LongBool; cdecl;
  TCkDateTime_UlidIncrement = function(handle: Pointer; ulid: Pointer): LongBool; cdecl;
  TCkDateTime_SetFromNtpServer = function(handle: Pointer; jsonStr: PAnsiChar): LongBool; cdecl;
  TCkDateTime_ToDtObj = procedure(handle: Pointer; bLocal: LongBool; dtObj: Pointer); cdecl;

{ ---- C bridge function pointer variables ---- }
var
  CkDateTime_Create:  TCkDateTime_Create  = nil;
  CkDateTime_Dispose: TCkDateTime_Dispose = nil;
  CkDateTime_get_LastErrorHtml: TCkDateTime_get_LastErrorHtml = nil;
  CkDateTime_get_LastErrorText: TCkDateTime_get_LastErrorText = nil;
  CkDateTime_get_LastErrorXml: TCkDateTime_get_LastErrorXml = nil;
  CkDateTime_get_Version: TCkDateTime_get_Version = nil;
  CkDateTime_get_DebugLogFilePath: TCkDateTime_get_DebugLogFilePath = nil;
  CkDateTime_put_DebugLogFilePath: TCkDateTime_put_DebugLogFilePath = nil;
  CkDateTime_get_VerboseLogging: TCkDateTime_get_VerboseLogging = nil;
  CkDateTime_put_VerboseLogging: TCkDateTime_put_VerboseLogging = nil;
  CkDateTime_get_LastMethodSuccess: TCkDateTime_get_LastMethodSuccess = nil;
  CkDateTime_put_LastMethodSuccess: TCkDateTime_put_LastMethodSuccess = nil;
  CkDateTime_get_IsDst: TCkDateTime_get_IsDst = nil;
  CkDateTime_get_UtcOffset: TCkDateTime_get_UtcOffset = nil;
  CkDateTime_AddDays: TCkDateTime_AddDays = nil;
  CkDateTime_DeSerialize: TCkDateTime_DeSerialize = nil;
  CkDateTime_GetAsDateTimeTicks: TCkDateTime_GetAsDateTimeTicks = nil;
  CkDateTime_GetAsDosDate: TCkDateTime_GetAsDosDate = nil;
  CkDateTime_GetAsOleDate: TCkDateTime_GetAsOleDate = nil;
  CkDateTime_GetAsRfc822: TCkDateTime_GetAsRfc822 = nil;
  CkDateTime_GetAsUnixTime: TCkDateTime_GetAsUnixTime = nil;
  CkDateTime_GetAsUnixTime64: TCkDateTime_GetAsUnixTime64 = nil;
  CkDateTime_GetAsUnixTimeDbl: TCkDateTime_GetAsUnixTimeDbl = nil;
  CkDateTime_Serialize: TCkDateTime_Serialize = nil;
  CkDateTime_SetFromCurrentSystemTime: TCkDateTime_SetFromCurrentSystemTime = nil;
  CkDateTime_SetFromDateTimeTicks: TCkDateTime_SetFromDateTimeTicks = nil;
  CkDateTime_SetFromDosDate: TCkDateTime_SetFromDosDate = nil;
  CkDateTime_SetFromDtObj: TCkDateTime_SetFromDtObj = nil;
  CkDateTime_SetFromNtpTime: TCkDateTime_SetFromNtpTime = nil;
  CkDateTime_SetFromOleDate: TCkDateTime_SetFromOleDate = nil;
  CkDateTime_SetFromRfc822: TCkDateTime_SetFromRfc822 = nil;
  CkDateTime_SetFromUnixTime: TCkDateTime_SetFromUnixTime = nil;
  CkDateTime_SetFromUnixTime64: TCkDateTime_SetFromUnixTime64 = nil;
  CkDateTime_SetFromUnixTimeDbl: TCkDateTime_SetFromUnixTimeDbl = nil;
  CkDateTime_SetFromTimestamp: TCkDateTime_SetFromTimestamp = nil;
  CkDateTime_GetAsTimestamp: TCkDateTime_GetAsTimestamp = nil;
  CkDateTime_DiffSeconds: TCkDateTime_DiffSeconds = nil;
  CkDateTime_AddSeconds: TCkDateTime_AddSeconds = nil;
  CkDateTime_GetAsUnixTimeStr: TCkDateTime_GetAsUnixTimeStr = nil;
  CkDateTime_GetAsIso8601: TCkDateTime_GetAsIso8601 = nil;
  CkDateTime_ExpiresWithin: TCkDateTime_ExpiresWithin = nil;
  CkDateTime_OlderThan: TCkDateTime_OlderThan = nil;
  CkDateTime_UlidValidate: TCkDateTime_UlidValidate = nil;
  CkDateTime_UlidGenerate: TCkDateTime_UlidGenerate = nil;
  CkDateTime_SetFromUlid: TCkDateTime_SetFromUlid = nil;
  CkDateTime_UlidIncrement: TCkDateTime_UlidIncrement = nil;
  CkDateTime_SetFromNtpServer: TCkDateTime_SetFromNtpServer = nil;
  CkDateTime_ToDtObj: TCkDateTime_ToDtObj = nil;

constructor TCkDateTime.Create;
begin
  inherited Create;
  FHandle := CkDateTime_Create();
end;

destructor TCkDateTime.Destroy;
begin
  if FHandle <> nil then
    CkDateTime_Dispose(FHandle);
  FHandle := nil;
  inherited;
end;

function TCkDateTime.GetLastErrorHtml: string;
begin
  Result := CkToStr(CkDateTime_get_LastErrorHtml(FHandle));
end;

function TCkDateTime.GetLastErrorText: string;
begin
  Result := CkToStr(CkDateTime_get_LastErrorText(FHandle));
end;

function TCkDateTime.GetLastErrorXml: string;
begin
  Result := CkToStr(CkDateTime_get_LastErrorXml(FHandle));
end;

function TCkDateTime.GetVersion: string;
begin
  Result := CkToStr(CkDateTime_get_Version(FHandle));
end;

function TCkDateTime.GetDebugLogFilePath: string;
begin
  Result := CkToStr(CkDateTime_get_DebugLogFilePath(FHandle));
end;

procedure TCkDateTime.SetDebugLogFilePath(AValue: string);
begin
  CkDateTime_put_DebugLogFilePath(FHandle, PAnsiChar(StrToCk(AValue)));
end;

function TCkDateTime.GetVerboseLogging: Boolean;
begin
  Result := Boolean(CkDateTime_get_VerboseLogging(FHandle));
end;

procedure TCkDateTime.SetVerboseLogging(AValue: Boolean);
begin
  CkDateTime_put_VerboseLogging(FHandle, LongBool(AValue));
end;

function TCkDateTime.GetLastMethodSuccess: Boolean;
begin
  Result := Boolean(CkDateTime_get_LastMethodSuccess(FHandle));
end;

procedure TCkDateTime.SetLastMethodSuccess(AValue: Boolean);
begin
  CkDateTime_put_LastMethodSuccess(FHandle, LongBool(AValue));
end;

function TCkDateTime.GetIsDst: Integer;
begin
  Result := CkDateTime_get_IsDst(FHandle);
end;

function TCkDateTime.GetUtcOffset: Integer;
begin
  Result := CkDateTime_get_UtcOffset(FHandle);
end;

function TCkDateTime.AddDays(numDays: Integer): Boolean;
begin
  Result := Boolean(CkDateTime_AddDays(FHandle, numDays));
end;

procedure TCkDateTime.DeSerialize(const serializedDateTime: string);
begin
  CkDateTime_DeSerialize(FHandle, PAnsiChar(StrToCk(serializedDateTime)));
end;

function TCkDateTime.GetAsDateTimeTicks(bLocal: Boolean): Int64;
begin
  Result := CkDateTime_GetAsDateTimeTicks(FHandle, LongBool(bLocal));
end;

function TCkDateTime.GetAsDosDate(bLocal: Boolean): LongWord;
begin
  Result := CkDateTime_GetAsDosDate(FHandle, LongBool(bLocal));
end;

function TCkDateTime.GetAsOleDate(bLocal: Boolean): Double;
begin
  Result := CkDateTime_GetAsOleDate(FHandle, LongBool(bLocal));
end;

function TCkDateTime.GetAsRfc822(bLocal: Boolean): string;
begin
  Result := CkToStr(CkDateTime_GetAsRfc822(FHandle, LongBool(bLocal)));
end;

function TCkDateTime.GetAsUnixTime(bLocal: Boolean): LongWord;
begin
  Result := CkDateTime_GetAsUnixTime(FHandle, LongBool(bLocal));
end;

function TCkDateTime.GetAsUnixTime64(bLocal: Boolean): Int64;
begin
  Result := CkDateTime_GetAsUnixTime64(FHandle, LongBool(bLocal));
end;

function TCkDateTime.GetAsUnixTimeDbl(bLocal: Boolean): Double;
begin
  Result := CkDateTime_GetAsUnixTimeDbl(FHandle, LongBool(bLocal));
end;

function TCkDateTime.Serialize: string;
begin
  Result := CkToStr(CkDateTime_Serialize(FHandle));
end;

function TCkDateTime.SetFromCurrentSystemTime: Boolean;
begin
  Result := Boolean(CkDateTime_SetFromCurrentSystemTime(FHandle));
end;

function TCkDateTime.SetFromDateTimeTicks(bLocal: Boolean; ticks: Int64): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromDateTimeTicks(FHandle, LongBool(bLocal), ticks));
end;

function TCkDateTime.SetFromDosDate(bLocal: Boolean; t: LongWord): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromDosDate(FHandle, LongBool(bLocal), t));
end;

function TCkDateTime.SetFromDtObj(dt: TChilkatBase): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromDtObj(FHandle, dt.Handle));
end;

function TCkDateTime.SetFromNtpTime(ntpSeconds: Integer): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromNtpTime(FHandle, ntpSeconds));
end;

function TCkDateTime.SetFromOleDate(bLocal: Boolean; dt: Double): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromOleDate(FHandle, LongBool(bLocal), dt));
end;

function TCkDateTime.SetFromRfc822(const rfc822Str: string): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromRfc822(FHandle, PAnsiChar(StrToCk(rfc822Str))));
end;

function TCkDateTime.SetFromUnixTime(bLocal: Boolean; t: LongWord): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromUnixTime(FHandle, LongBool(bLocal), t));
end;

function TCkDateTime.SetFromUnixTime64(bLocal: Boolean; t: Int64): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromUnixTime64(FHandle, LongBool(bLocal), t));
end;

function TCkDateTime.SetFromUnixTimeDbl(bLocal: Boolean; d: Double): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromUnixTimeDbl(FHandle, LongBool(bLocal), d));
end;

function TCkDateTime.SetFromTimestamp(const timestamp: string): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromTimestamp(FHandle, PAnsiChar(StrToCk(timestamp))));
end;

function TCkDateTime.GetAsTimestamp(bLocal: Boolean): string;
begin
  Result := CkToStr(CkDateTime_GetAsTimestamp(FHandle, LongBool(bLocal)));
end;

function TCkDateTime.DiffSeconds(dateTimeArg: TChilkatBase): Integer;
begin
  Result := CkDateTime_DiffSeconds(FHandle, dateTimeArg.Handle);
end;

function TCkDateTime.AddSeconds(numSeconds: Integer): Boolean;
begin
  Result := Boolean(CkDateTime_AddSeconds(FHandle, numSeconds));
end;

function TCkDateTime.GetAsUnixTimeStr(bLocal: Boolean): string;
begin
  Result := CkToStr(CkDateTime_GetAsUnixTimeStr(FHandle, LongBool(bLocal)));
end;

function TCkDateTime.GetAsIso8601(const formatStr: string; bLocal: Boolean): string;
begin
  Result := CkToStr(CkDateTime_GetAsIso8601(FHandle, PAnsiChar(StrToCk(formatStr)), LongBool(bLocal)));
end;

function TCkDateTime.ExpiresWithin(n: Integer; const units: string): Boolean;
begin
  Result := Boolean(CkDateTime_ExpiresWithin(FHandle, n, PAnsiChar(StrToCk(units))));
end;

function TCkDateTime.OlderThan(n: Integer; const units: string): Boolean;
begin
  Result := Boolean(CkDateTime_OlderThan(FHandle, n, PAnsiChar(StrToCk(units))));
end;

function TCkDateTime.UlidValidate(const ulid: string): Boolean;
begin
  Result := Boolean(CkDateTime_UlidValidate(FHandle, PAnsiChar(StrToCk(ulid))));
end;

function TCkDateTime.UlidGenerate(bLocal: Boolean): string;
begin
  Result := CkToStr(CkDateTime_UlidGenerate(FHandle, LongBool(bLocal)));
end;

function TCkDateTime.SetFromUlid(bLocal: Boolean; const ulid: string): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromUlid(FHandle, LongBool(bLocal), PAnsiChar(StrToCk(ulid))));
end;

function TCkDateTime.UlidIncrement(ulid: TChilkatBase): Boolean;
begin
  Result := Boolean(CkDateTime_UlidIncrement(FHandle, ulid.Handle));
end;

function TCkDateTime.SetFromNtpServer(const jsonStr: string): Boolean;
begin
  Result := Boolean(CkDateTime_SetFromNtpServer(FHandle, PAnsiChar(StrToCk(jsonStr))));
end;

procedure TCkDateTime.ToDtObj(bLocal: Boolean; dtObj: TChilkatBase);
begin
  CkDateTime_ToDtObj(FHandle, LongBool(bLocal), dtObj.Handle);
end;

initialization
  Chilkat_GetProcedureAddress(CkDateTime_Create,  'CkDateTime_Create');
  Chilkat_GetProcedureAddress(CkDateTime_Dispose, 'CkDateTime_Dispose');
  Chilkat_GetProcedureAddress(CkDateTime_get_LastErrorHtml, 'CkDateTime_get_LastErrorHtml');
  Chilkat_GetProcedureAddress(CkDateTime_get_LastErrorText, 'CkDateTime_get_LastErrorText');
  Chilkat_GetProcedureAddress(CkDateTime_get_LastErrorXml, 'CkDateTime_get_LastErrorXml');
  Chilkat_GetProcedureAddress(CkDateTime_get_Version, 'CkDateTime_get_Version');
  Chilkat_GetProcedureAddress(CkDateTime_get_DebugLogFilePath, 'CkDateTime_get_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkDateTime_put_DebugLogFilePath, 'CkDateTime_put_DebugLogFilePath');
  Chilkat_GetProcedureAddress(CkDateTime_get_VerboseLogging, 'CkDateTime_get_VerboseLogging');
  Chilkat_GetProcedureAddress(CkDateTime_put_VerboseLogging, 'CkDateTime_put_VerboseLogging');
  Chilkat_GetProcedureAddress(CkDateTime_get_LastMethodSuccess, 'CkDateTime_get_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkDateTime_put_LastMethodSuccess, 'CkDateTime_put_LastMethodSuccess');
  Chilkat_GetProcedureAddress(CkDateTime_get_IsDst, 'CkDateTime_get_IsDst');
  Chilkat_GetProcedureAddress(CkDateTime_get_UtcOffset, 'CkDateTime_get_UtcOffset');
  Chilkat_GetProcedureAddress(CkDateTime_AddDays, 'CkDateTime_AddDays');
  Chilkat_GetProcedureAddress(CkDateTime_DeSerialize, 'CkDateTime_DeSerialize');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsDateTimeTicks, 'CkDateTime_GetAsDateTimeTicks');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsDosDate, 'CkDateTime_GetAsDosDate');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsOleDate, 'CkDateTime_GetAsOleDate');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsRfc822, 'CkDateTime_GetAsRfc822');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsUnixTime, 'CkDateTime_GetAsUnixTime');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsUnixTime64, 'CkDateTime_GetAsUnixTime64');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsUnixTimeDbl, 'CkDateTime_GetAsUnixTimeDbl');
  Chilkat_GetProcedureAddress(CkDateTime_Serialize, 'CkDateTime_Serialize');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromCurrentSystemTime, 'CkDateTime_SetFromCurrentSystemTime');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromDateTimeTicks, 'CkDateTime_SetFromDateTimeTicks');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromDosDate, 'CkDateTime_SetFromDosDate');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromDtObj, 'CkDateTime_SetFromDtObj');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromNtpTime, 'CkDateTime_SetFromNtpTime');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromOleDate, 'CkDateTime_SetFromOleDate');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromRfc822, 'CkDateTime_SetFromRfc822');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromUnixTime, 'CkDateTime_SetFromUnixTime');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromUnixTime64, 'CkDateTime_SetFromUnixTime64');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromUnixTimeDbl, 'CkDateTime_SetFromUnixTimeDbl');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromTimestamp, 'CkDateTime_SetFromTimestamp');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsTimestamp, 'CkDateTime_GetAsTimestamp');
  Chilkat_GetProcedureAddress(CkDateTime_DiffSeconds, 'CkDateTime_DiffSeconds');
  Chilkat_GetProcedureAddress(CkDateTime_AddSeconds, 'CkDateTime_AddSeconds');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsUnixTimeStr, 'CkDateTime_GetAsUnixTimeStr');
  Chilkat_GetProcedureAddress(CkDateTime_GetAsIso8601, 'CkDateTime_GetAsIso8601');
  Chilkat_GetProcedureAddress(CkDateTime_ExpiresWithin, 'CkDateTime_ExpiresWithin');
  Chilkat_GetProcedureAddress(CkDateTime_OlderThan, 'CkDateTime_OlderThan');
  Chilkat_GetProcedureAddress(CkDateTime_UlidValidate, 'CkDateTime_UlidValidate');
  Chilkat_GetProcedureAddress(CkDateTime_UlidGenerate, 'CkDateTime_UlidGenerate');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromUlid, 'CkDateTime_SetFromUlid');
  Chilkat_GetProcedureAddress(CkDateTime_UlidIncrement, 'CkDateTime_UlidIncrement');
  Chilkat_GetProcedureAddress(CkDateTime_SetFromNtpServer, 'CkDateTime_SetFromNtpServer');
  Chilkat_GetProcedureAddress(CkDateTime_ToDtObj, 'CkDateTime_ToDtObj');

end.
