Liquid XML Data Binder 2019
CreateGYear(Int32,Boolean) Method

LiquidTechnologies.XmlObjects Namespace > LxDateTime Structure > CreateGYear Method : CreateGYear(Int32,Boolean) Method
The year value
true if the time is a UTC time, false if its a in the local timezone.
Creates a new xsd xs:date (Type = LxDateTimeType.GYear).
Syntax
'Declaration
 
Public Overloads Shared Function CreateGYear( _
   ByVal year As System.Integer, _
   Optional ByVal isUtc As System.Boolean _
) As LxDateTime
public static LxDateTime CreateGYear( 
   System.int year,
   System.bool isUtc
)

Parameters

year
The year value
isUtc
true if the time is a UTC time, false if its a in the local timezone.

Return Value

A newly constructed LxDateTime
Exceptions
ExceptionDescription
If any of the values are out of range
Requirements

Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows Server 2016, Windows Server 2012, Windows Server 2008. Please ensure you have the latest Service Pack for your operating system installed.

See Also

Reference

LxDateTime Structure
LxDateTime Members
Overload List