DuckDB v0.10.1 for Pascal

The Pascal API structure aligns with C++ DuckDB v0.10.1.

Record Timestamp

Hierarchy
Properties

Unit

Declaration

type Timestamp = record

Description

Class: Timestamp of ddb

Overview

Fields

Public o: Pduckdb_Timestamp;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Timestamp);
Public class operator Explicit(const r: Timestamp): Boolean;
Public procedure AutoRelease();
Public class function FromString(arg1: str): timestamp_t; overload; static;
Public class function TryConvertTimestampTZ(arg1: PUTF8Char; arg2: UInt64; arg3: timestamp_t; arg4: PBoolean; arg5: string_t): Boolean; overload; static;
Public class function TryConvertTimestamp(arg1: PUTF8Char; arg2: UInt64; arg3: timestamp_t): Integer; overload; static;
Public class function FromCString(arg1: PUTF8Char; arg2: UInt64): timestamp_t; overload; static;
Public class function ToString(arg1: timestamp_t): str; overload; static;
Public class function GetDate(arg1: timestamp_t): date_t; overload; static;
Public class function GetTime(arg1: timestamp_t): dtime_t; overload; static;
Public class function FromDatetime(arg1: date_t; arg2: dtime_t): timestamp_t; overload; static;
Public class function TryFromDatetime(arg1: date_t; arg2: dtime_t; arg3: timestamp_t): Boolean; overload; static;
Public class function TryFromDatetime(arg1: date_t; arg2: dtime_tz_t; arg3: timestamp_t): Boolean; overload; static;
Public class function CharacterIsTimeZone(arg1: UTF8Char): Boolean; overload; static;
Public class function IsFinite(arg1: timestamp_t): Boolean; overload; static;
Public class procedure Convert(arg1: timestamp_t; arg2: date_t; arg3: dtime_t); overload; static;
Public class function GetCurrentTimestamp(): timestamp_t; overload; static;
Public class function FromEpochSecondsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochSeconds(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochMsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochMs(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochMicroSeconds(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochNanoSecondsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;
Public class function FromEpochNanoSeconds(arg1: Int64): timestamp_t; overload; static;
Public class function TryGetEpochNanoSeconds(arg1: timestamp_t; arg2: PInt64): Boolean; overload; static;
Public class function GetEpochSeconds(arg1: timestamp_t): Int64; overload; static;
Public class function GetEpochMs(arg1: timestamp_t): Int64; overload; static;
Public class function GetEpochMicroSeconds(arg1: timestamp_t): Int64; overload; static;
Public class function GetEpochNanoSeconds(arg1: timestamp_t): Int64; overload; static;
Public class function GetJulianDay(arg1: timestamp_t): Double; overload; static;
Public class function TryParseUTCOffset(arg1: PUTF8Char; arg2: PUInt64; arg3: UInt64; arg4: PInteger; arg5: PInteger): Boolean; overload; static;
Public class function ConversionError(arg1: str): str; overload; static;
Public class function ConversionError(arg1: string_t): str; overload; static;
Public class function UnsupportedTimezoneError(arg1: str): str; overload; static;
Public class function UnsupportedTimezoneError(arg1: string_t): str; overload; static;
Public procedure Init(); overload;

Description

Fields

Public o: Pduckdb_Timestamp;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Timestamp);

This item has no description.

Public class operator Explicit(const r: Timestamp): Boolean;

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public class function FromString(arg1: str): timestamp_t; overload; static;

This item has no description.

Public class function TryConvertTimestampTZ(arg1: PUTF8Char; arg2: UInt64; arg3: timestamp_t; arg4: PBoolean; arg5: string_t): Boolean; overload; static;

This item has no description.

Public class function TryConvertTimestamp(arg1: PUTF8Char; arg2: UInt64; arg3: timestamp_t): Integer; overload; static;

This item has no description.

Public class function FromCString(arg1: PUTF8Char; arg2: UInt64): timestamp_t; overload; static;

This item has no description.

Public class function ToString(arg1: timestamp_t): str; overload; static;

This item has no description.

Public class function GetDate(arg1: timestamp_t): date_t; overload; static;

This item has no description.

Public class function GetTime(arg1: timestamp_t): dtime_t; overload; static;

This item has no description.

Public class function FromDatetime(arg1: date_t; arg2: dtime_t): timestamp_t; overload; static;

This item has no description.

Public class function TryFromDatetime(arg1: date_t; arg2: dtime_t; arg3: timestamp_t): Boolean; overload; static;

This item has no description.

Public class function TryFromDatetime(arg1: date_t; arg2: dtime_tz_t; arg3: timestamp_t): Boolean; overload; static;

This item has no description.

Public class function CharacterIsTimeZone(arg1: UTF8Char): Boolean; overload; static;

This item has no description.

Public class function IsFinite(arg1: timestamp_t): Boolean; overload; static;

This item has no description.

Public class procedure Convert(arg1: timestamp_t; arg2: date_t; arg3: dtime_t); overload; static;

This item has no description.

Public class function GetCurrentTimestamp(): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochSecondsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochSeconds(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochMsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochMs(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochMicroSeconds(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochNanoSecondsPossiblyInfinite(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function FromEpochNanoSeconds(arg1: Int64): timestamp_t; overload; static;

This item has no description.

Public class function TryGetEpochNanoSeconds(arg1: timestamp_t; arg2: PInt64): Boolean; overload; static;

This item has no description.

Public class function GetEpochSeconds(arg1: timestamp_t): Int64; overload; static;

This item has no description.

Public class function GetEpochMs(arg1: timestamp_t): Int64; overload; static;

This item has no description.

Public class function GetEpochMicroSeconds(arg1: timestamp_t): Int64; overload; static;

This item has no description.

Public class function GetEpochNanoSeconds(arg1: timestamp_t): Int64; overload; static;

This item has no description.

Public class function GetJulianDay(arg1: timestamp_t): Double; overload; static;

This item has no description.

Public class function TryParseUTCOffset(arg1: PUTF8Char; arg2: PUInt64; arg3: UInt64; arg4: PInteger; arg5: PInteger): Boolean; overload; static;

This item has no description.

Public class function ConversionError(arg1: str): str; overload; static;

This item has no description.

Public class function ConversionError(arg1: string_t): str; overload; static;

This item has no description.

Public class function UnsupportedTimezoneError(arg1: str): str; overload; static;

This item has no description.

Public class function UnsupportedTimezoneError(arg1: string_t): str; overload; static;

This item has no description.

Public procedure Init(); overload;

This item has no description.

Error Message