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

In This Topic
    DB2Time Structure Members
    In This Topic

    The following tables list the members exposed by DB2Time.

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