Class TXQValueDateTime

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXQValueDateTime = class(TXQValue)

Description

Datetime value

Hierarchy

  • TInterfacedObject
  • TXQValue
  • TXQValueDateTime

Overview

Fields

Public value: TXQValueDateTimeData;

Methods

Public constructor create(atypeAnnotation: TXSType); reintroduce; virtual;
Public constructor create(atypeAnnotation: TXSDateTimeType; const str: string); reintroduce; virtual;
Public constructor create(atypeAnnotation: TXSType; const str, format: string); reintroduce; virtual;
Public constructor create(atypeAnnotation: TXSType; const dt: TXQValueDateTimeData); reintroduce; virtual;
Public constructor create(atypeAnnotation: TXSType; const dt: TDateTime); reintroduce; virtual;
Public class function classKind: TXQValueKind; override;
Public function toBoolean: boolean; override;
Public function toBooleanEffective: boolean; override;
Public function toInt64: Int64; override;
Public function toDecimal: BigDecimal; override;
Public function toString: string; override;
Public function toDateTime: TDateTime; override;
Public function getInternalDateTimeData: PXQValueDateTimeData; override;
Public procedure setDateTime(const dateTime: TDateTime);
Public class procedure setDateTime(const dateTime: TDateTime; out v: TXQValueDateTimeData); static;
Public function clone: IXQValue; override;

Description

Fields

Public value: TXQValueDateTimeData;
 

Methods

Public constructor create(atypeAnnotation: TXSType); reintroduce; virtual;
 
Public constructor create(atypeAnnotation: TXSDateTimeType; const str: string); reintroduce; virtual;

Create from XPath standard representation (@see dateFormat)

Public constructor create(atypeAnnotation: TXSType; const str, format: string); reintroduce; virtual;

Create from a date/time with a certain format (see bbutils.dateParseParts)

Public constructor create(atypeAnnotation: TXSType; const dt: TXQValueDateTimeData); reintroduce; virtual;

Create from a splitted ordinary datetime

Public constructor create(atypeAnnotation: TXSType; const dt: TDateTime); reintroduce; virtual;

Create from an ordinary datetime

Public class function classKind: TXQValueKind; override;
 
Public function toBoolean: boolean; override;

Converts the TXQValue dynamically to boolean

Public function toBooleanEffective: boolean; override;
 
Public function toInt64: Int64; override;

Converts the TXQValue dynamically to integer

Public function toDecimal: BigDecimal; override;

Converts the TXQValue dynamically to BigDecimal

Public function toString: string; override;

Converts the TXQValue dynamically to string

Public function toDateTime: TDateTime; override;

Converts the TXQValue dynamically to TDateTime

Public function getInternalDateTimeData: PXQValueDateTimeData; override;
 
Public procedure setDateTime(const dateTime: TDateTime);
 
Public class procedure setDateTime(const dateTime: TDateTime; out v: TXQValueDateTimeData); static;
 
Public function clone: IXQValue; override;
 

Generated by PasDoc 0.14.0.