dotConnect for DB2 Documentation
Devart.Data.DB2.DB2Types Namespace / DB2Date Structure
Fields Properties Methods

In This Topic
    DB2Date Structure Members
    In This Topic

    The following tables list the members exposed by DB2Date.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the DB2Date structure with the specified System.DateTime.  
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Represents the maximum valid date value for an DB2Date structure.  
    Public Fieldstatic (Shared in Visual Basic)Represents the minimum valid date value for an DB2Date structure.  
    Public Fieldstatic (Shared in Visual Basic)Represents a null value that can be assigned to the Value property of a DB2Date structure.  
    Top
    Public Properties
     NameDescription
    Public PropertyIndicates whether the Value property of the DB2Date is Null.  
    Public PropertyGets the value of the DB2Date structure.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Compares the current DB2Date object to the specified object and returns an integer that represents their relative values.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. Compares two DB2Date structures to determine if they are equal.  
    Public MethodGets a hash code for the DB2Date instance.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2Date values is greater than the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2Date values is greater than or equal to the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2Date values is less than the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether the first of two DB2Date values is less than or equal to the second.  
    Public Methodstatic (Shared in Visual Basic)Determines whether two DB2Date values are not equal.  
    Public Methodstatic (Shared in Visual Basic)Converts the specified System.String representation of a date and time to its DB2Date equivalent.  
    Public MethodConverts the specified DB2Date structure to a System.String.  
    Top
    Public Operators
    Determines whether two DB2Date values are the same.
    Converts a DB2Date structure to a System.DateTime structure.
    Compares two DB2Date structures to determine if the first is greater than the second.
    Compares two DB2Date structures to determine if the first is greater than or equal to the second.
    Converts a System.DateTime structure to a DB2Date structure.
    Determines whether two DB2Date values are not equal.
    Compares two DB2Date structures to determine if the first is less than the second.
    Compares two DB2Date structures to determine if the first is less than or equal to the second.
    Returns the difference between the first and second DB2Date arguments as a DB2Time structure.
    Top
    See Also