record TXQValueDateTimeData

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQValueDateTimeData = record

Description

Record to store a datetime splitted in years/months/days/hours/minutes/secondes/secondfractions+timezone (because TDateTime is not sufficient to distinguish 1a vs. 12m for durations)

Overview

Fields

values: array[1..7] of integer;
year: integer;
month: integer;
day: integer;
hour: integer;
min: integer;
seconds: integer;
microsecs: integer;
timezone: integer;

Methods

procedure initFromMicroSecondStamp(mics: int64; const tz: integer = high(integer));
function initFromMicroSecondStampTimeOnly(mics: int64; const tz: integer = high(integer)): int64;
function toMicroSecondStamp(subtractTimeZone: Boolean = true): int64;
function toMonths: integer; inline;
function toDayTime: int64;

Description

Fields

values: array[1..7] of integer;
 
year: integer;
 
month: integer;
 
day: integer;
 
hour: integer;
 
min: integer;
 
seconds: integer;
 
microsecs: integer;
 
timezone: integer;
 

Methods

procedure initFromMicroSecondStamp(mics: int64; const tz: integer = high(integer));
 
function initFromMicroSecondStampTimeOnly(mics: int64; const tz: integer = high(integer)): int64;
 
function toMicroSecondStamp(subtractTimeZone: Boolean = true): int64;
 
function toMonths: integer; inline;
 
function toDayTime: int64;
 

Generated by PasDoc 0.14.0.