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

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

    Parameters

    year
    The year value
    month
    The month value (1-12)
    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