DB2Date Members

Represents the DATE DB2® data type. Encapsulates the DateTime .NET data type. The following tables list the members exposed by the DB2Date class.

Public Fields

Field Description
public field MaxValue Maximum value for DB2Date: December 31, 9999.
public field MinValue Minimum value for DB2Date: January 1, 0001.
public field Null Null value for DB2Date.

Public Constructors

Constructor Description
public method DB2Date Initializes a new DB2Date object with the specified DateTime value.

Public Properties

Property Description
public property IsNull Gets a value that indicates if the value stored in the DB2Date object is null.
public property Value Gets the value stored in the DB2Date object in the form of a DateTime object.

Public Methods

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