DuckDB v0.10.1 for Pascal

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

Record Date

Hierarchy
Properties

Unit

Declaration

type Date = record

Description

Class: Date of ddb

Overview

Fields

Public o: Pduckdb_Date;

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Date);
Public class operator Explicit(const r: Date): Boolean;
Public procedure AutoRelease();
Public class function FromString(arg1: str; arg2: Boolean): date_t; overload; static;
Public class function FromString(arg1: str): date_t; overload; static;
Public class function FromCString(arg1: PUTF8Char; arg2: UInt64; arg3: Boolean): date_t; overload; static;
Public class function FromCString(arg1: PUTF8Char; arg2: UInt64): date_t; overload; static;
Public class function ToString(arg1: date_t): str; overload; static;
Public class function TryConvertDateSpecial(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: PUTF8Char): Boolean; overload; static;
Public class function TryConvertDate(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: date_t; arg5: PBoolean; arg6: Boolean): Boolean; overload; static;
Public class function TryConvertDate(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: date_t; arg5: PBoolean): Boolean; overload; static;
Public class function Format(arg1: Integer; arg2: Integer; arg3: Integer): str; overload; static;
Public class procedure Convert(arg1: date_t; arg2: PInteger; arg3: PInteger; arg4: PInteger); overload; static;
Public class function FromDate(arg1: Integer; arg2: Integer; arg3: Integer): date_t; overload; static;
Public class function TryFromDate(arg1: Integer; arg2: Integer; arg3: Integer; arg4: date_t): Boolean; overload; static;
Public class function IsLeapYear(arg1: Integer): Boolean; overload; static;
Public class function IsValid(arg1: Integer; arg2: Integer; arg3: Integer): Boolean; overload; static;
Public class function IsFinite(arg1: date_t): Boolean; overload; static;
Public class function MonthDays(arg1: Integer; arg2: Integer): Integer; overload; static;
Public class function Epoch(arg1: date_t): Int64; overload; static;
Public class function EpochNanoseconds(arg1: date_t): Int64; overload; static;
Public class function EpochMicroseconds(arg1: date_t): Int64; overload; static;
Public class function EpochMilliseconds(arg1: date_t): Int64; overload; static;
Public class function EpochToDate(arg1: Int64): date_t; overload; static;
Public class function EpochDays(arg1: date_t): Integer; overload; static;
Public class function EpochDaysToDate(arg1: Integer): date_t; overload; static;
Public class function ExtractYear(arg1: date_t): Integer; overload; static;
Public class function ExtractYear(arg1: date_t; arg2: PInteger): Integer; overload; static;
Public class function ExtractYear(arg1: timestamp_t; arg2: PInteger): Integer; overload; static;
Public class function ExtractMonth(arg1: date_t): Integer; overload; static;
Public class function ExtractDay(arg1: date_t): Integer; overload; static;
Public class function ExtractISODayOfTheWeek(arg1: date_t): Integer; overload; static;
Public class function ExtractDayOfTheYear(arg1: date_t): Integer; overload; static;
Public class function ExtractJulianDay(arg1: date_t): Int64; overload; static;
Public class procedure ExtractISOYearWeek(arg1: date_t; arg2: PInteger; arg3: PInteger); overload; static;
Public class function ExtractISOWeekNumber(arg1: date_t): Integer; overload; static;
Public class function ExtractISOYearNumber(arg1: date_t): Integer; overload; static;
Public class function ExtractWeekNumberRegular(arg1: date_t; arg2: Boolean): Integer; overload; static;
Public class function ExtractWeekNumberRegular(arg1: date_t): Integer; overload; static;
Public class function GetMondayOfCurrentWeek(arg1: date_t): date_t; overload; static;
Public class function ParseDoubleDigit(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: PInteger): Boolean; overload; static;
Public class function ConversionError(arg1: str): str; overload; static;
Public class function ConversionError(arg1: string_t): str; overload; static;
Public procedure Init(); overload;

Description

Fields

Public o: Pduckdb_Date;

This item has no description.

Methods

Public constructor FromNativePointer(ptr : Pduckdb_Date);

This item has no description.

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

This item has no description.

Public procedure AutoRelease();

This item has no description.

Public class function FromString(arg1: str; arg2: Boolean): date_t; overload; static;

This item has no description.

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

This item has no description.

Public class function FromCString(arg1: PUTF8Char; arg2: UInt64; arg3: Boolean): date_t; overload; static;

This item has no description.

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

This item has no description.

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

This item has no description.

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

This item has no description.

Public class function TryConvertDate(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: date_t; arg5: PBoolean; arg6: Boolean): Boolean; overload; static;

This item has no description.

Public class function TryConvertDate(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: date_t; arg5: PBoolean): Boolean; overload; static;

This item has no description.

Public class function Format(arg1: Integer; arg2: Integer; arg3: Integer): str; overload; static;

This item has no description.

Public class procedure Convert(arg1: date_t; arg2: PInteger; arg3: PInteger; arg4: PInteger); overload; static;

This item has no description.

Public class function FromDate(arg1: Integer; arg2: Integer; arg3: Integer): date_t; overload; static;

This item has no description.

Public class function TryFromDate(arg1: Integer; arg2: Integer; arg3: Integer; arg4: date_t): Boolean; overload; static;

This item has no description.

Public class function IsLeapYear(arg1: Integer): Boolean; overload; static;

This item has no description.

Public class function IsValid(arg1: Integer; arg2: Integer; arg3: Integer): Boolean; overload; static;

This item has no description.

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

This item has no description.

Public class function MonthDays(arg1: Integer; arg2: Integer): Integer; overload; static;

This item has no description.

Public class function Epoch(arg1: date_t): Int64; overload; static;

This item has no description.

Public class function EpochNanoseconds(arg1: date_t): Int64; overload; static;

This item has no description.

Public class function EpochMicroseconds(arg1: date_t): Int64; overload; static;

This item has no description.

Public class function EpochMilliseconds(arg1: date_t): Int64; overload; static;

This item has no description.

Public class function EpochToDate(arg1: Int64): date_t; overload; static;

This item has no description.

Public class function EpochDays(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function EpochDaysToDate(arg1: Integer): date_t; overload; static;

This item has no description.

Public class function ExtractYear(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractYear(arg1: date_t; arg2: PInteger): Integer; overload; static;

This item has no description.

Public class function ExtractYear(arg1: timestamp_t; arg2: PInteger): Integer; overload; static;

This item has no description.

Public class function ExtractMonth(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractDay(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractISODayOfTheWeek(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractDayOfTheYear(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractJulianDay(arg1: date_t): Int64; overload; static;

This item has no description.

Public class procedure ExtractISOYearWeek(arg1: date_t; arg2: PInteger; arg3: PInteger); overload; static;

This item has no description.

Public class function ExtractISOWeekNumber(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractISOYearNumber(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function ExtractWeekNumberRegular(arg1: date_t; arg2: Boolean): Integer; overload; static;

This item has no description.

Public class function ExtractWeekNumberRegular(arg1: date_t): Integer; overload; static;

This item has no description.

Public class function GetMondayOfCurrentWeek(arg1: date_t): date_t; overload; static;

This item has no description.

Public class function ParseDoubleDigit(arg1: PUTF8Char; arg2: UInt64; arg3: PUInt64; arg4: 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 procedure Init(); overload;

This item has no description.

Error Message