LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure / CreateGYear Method / CreateGYear(Int32,Int32,Int32) Method
The year value
The timezone hour value (-23 to +23)
The timezone minute value (0-59)

In This Topic
    CreateGYear(Int32,Int32,Int32) Method
    In This Topic
    Creates a new xsd xs:date (Type = LxDateTimeType.GYear).
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function CreateGYear( _
       ByVal year As System.Integer, _
       ByVal zoneHour As System.Integer, _
       ByVal zoneMinute As System.Integer _
    ) As LxDateTime
    public static LxDateTime CreateGYear( 
       System.int year,
       System.int zoneHour,
       System.int zoneMinute
    )

    Parameters

    year
    The year value
    zoneHour
    The timezone hour value (-23 to +23)
    zoneMinute
    The timezone minute value (0-59)

    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