DB2Time Members

Represents the TIME DB2® data type. Encapsulates the TimeSpan .NET data type. The following tables list the members exposed by the DB2Time structure.

Public Fields

Field Description
public field Null Null value for DB2Time.
public field MaxValue Maximum value for DB2Time: 24:00:00.
public field MinValue Minimum value for DB2Time: 00:00:00.

Public Constructors

Constructor Description
public method DB2Time() Initializes a new DB2Time structure.
public method DB2Time(TimeSpan) Initializes a new DB2Time structure with the specified TimeSpan value.

Public Properties

Property Description
public property IsNull Gets a value that indicates if the value stored in the DB2Time structure is null.
public property Value Gets the value stored in the DB2Time structure in the form of a TimeStamp.

Public Methods

Method Description
public method Parse Converts the supplied String to DB2Time.
public method ToString Returns a string that represents the DB2Time structure.
public method op_explicit Converts the supplied DB2Time structure to a TimeStamp.
public method op_implicit Converts the supplied TimeStamp to DB2Time.