Overview
Units
Class Hierarchy
Classes, Interfaces, Objects and Records
Types
Variables
Constants
Functions and Procedures
Identifiers
xquery
type TXSDateTimeType = class(TXSSimpleType)
XML Schema date time or duration type (also gDay, etc. types). Might be splitted in later versions
fixedDateTimePattern: string;
isDuration: boolean;
truncation: TXQDateTimeTruncation;
function truncated(const value: TXQValueDateTimeData): TXQValueDateTimeData;
function constraintsSatisfied(const v: TXQValueDateTimeData): boolean;
function tryCreateValueInternal(const v: IXQValue; outv: PXQValue = nil): TXSCastingError; override;
function tryCreateValueInternal(const v: string; outv: PXQValue = nil): TXSCastingError; override;
constructor Create(aname: string; aparent: TXSType; apattern: string; atruncation: TXQDateTimeTruncation = xqdttNone );