System.DateTimeOffset: Constructor Members

The constructors of System.DateTimeOffset are listed below. For a list of all members, see the DateTimeOffset Members list.

See Also: Inherited members from System.ValueType

Public Constructors

Initializes a new instance of the DateTimeOffset structure using the specified DateTime value.

Initializes a new instance of the DateTimeOffset structure using the specified DateTime value and offset.

Initializes a new instance of the DateTimeOffset structure using the specified number of ticks and offset.

Initializes a new instance of the DateTimeOffset structure using the specified year, month, day, hour, minute, second, and offset.

Initializes a new instance of the DateTimeOffset structure using the specified year, month, day, hour, minute, second, millisecond, and offset.

Initializes a new instance of the DateTimeOffset structure using the specified year, month, day, hour, minute, second, millisecond, and offset of a specified calendar.