Liquid XML Data Binder 2021
LiquidTechnologies.XmlObjects Namespace / LxDateTime Structure
Fields Properties Methods


In This Topic
    LxDateTime Structure Members
    In This Topic

    The following tables list the members exposed by LxDateTime.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)The Zero datetime  
    Top
    Public Properties
     NameDescription
    Public PropertyGets a System.DateTime value that represents the date and time of the current LxDateTime object.  
    Public PropertyConverts the value to a System.DateTimeOffset.  
    Public PropertyThe day value (1-31 or 0 when not used)  
    Public PropertyGets the day of the week represented by the current System.DateTimeOffset object.  
    Public PropertyGets the day of the year represented by the current System.DateTimeOffset object.  
    Public PropertyIndicates the LxDateTime is relative to UTC time  
    Public PropertyThe hour value (0-23)  
    Public PropertyIndicates if the current LxDateTime has a valid Day component  
    Public PropertyIndicates if the current LxDateTime has a valid Month component  
    Public PropertyIndicates if the current LxDateTime has a valid time component (Hour, Minute, Second, MilliSecond, MicroSecond, NanoSecond)  
    Public PropertyIndicates if the current LxDateTime has a valid Year component  
    Public PropertyGets a System.DateTime value that represents the local date and time of the current LxDateTime object.  
    Public Propertystatic (Shared in Visual Basic)The offset from the local timezone to UTC.  
    Public PropertyThe microsecond value (0-999)  
    Public PropertyThe millisecond value (0-999)  
    Public PropertyThe minute value (0-59)  
    Public PropertyThe month value (1-12 or 0 when not used)  
    Public PropertyThe nanosecond value (0-999)  
    Public Propertystatic (Shared in Visual Basic)The current date time (UTC) (Type = LxDateTimeType.DateTime).  
    Public PropertyThe seconds value as a real number  
    Public PropertyThe hour (0-59)  
    Public PropertyGets a System.TimeSpan value that represents the time of the current LxDateTime object.  
    Public PropertyThe timezone as a System.TimeSpan  
    Public Propertystatic (Shared in Visual Basic)The current date (UTC) (Type = LxDateTimeType.Date).  
    Public PropertyThe type of XSD datetime value stored in this LxDateTime  
    Public PropertyGets a System.DateTime value that represents the Coordinated Universal Time (UTC) date and time of the current LxDateTime object.  
    Public PropertyThe year value (0 when not used)  
    Public PropertyThe timezone hour (-23 to +23)  
    Public PropertyThe timezone minute (0 to 59)  
    Public PropertyIndicates how times with a 0 offset from UTC should be shown, either +00:00 or Z. Only meaningful when HasTimeZone=true.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Checks if its possible to convert from one LxDateTimeType to another  
    Public Methodstatic (Shared in Visual Basic)Compares 2 LxDateTime objects  
    Public MethodCompares the current LxDateTime with date1  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.Date).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:datetime (Type = LxDateTimeType.DateTime).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.GDay).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.GMonth).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.GMonthDay).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.GYear).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:date (Type = LxDateTimeType.GYearMonth).  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Creates a new xsd xs:time (Type = LxDateTimeType.Time).  
    Public MethodOverloaded. Indicates whether this instance and a specified object are equal.  
    Public MethodConverts the value to a System.DateTimeOffset.  
    Public MethodServes as the default hash function.Returns the hash code for this instance.Serves as the default hash function.Returns the hash code for this instance.  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:date  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:dateTime  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:time  
    Public MethodReturns a string that represents the current object.Returns the fully qualified type name of this instance.Returns a string that represents the current object.Returns the fully qualified type name of this instance.  
    Public MethodAttempts to change the type of the LxDateTime to the specified newType  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing any XSD date time format ( xs:dateTime, xs:dateTimeStamp, xs:date, xs:gYearMonth, xs:gYear, xs:time, xs:gDay, xs:gMonth, xs:gMonthDay)  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:date  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:dateTime  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Parses a string containing an xs:dateTimeStamp (XSD 1.1)  
    Public Methodstatic (Shared in Visual Basic)Parses a string containing an xs:time  
    Top
    Public Operators
    Compares 2 LxDateTime objects for equality
    Compares 2 LxDateTime objects for equalityCompares 2 LxDateTime objects for inequality
    Top
    See Also