This is preliminary documentation and is subject to change.

ExtendedDateTime Class

The extended date time according to ISO 8601-2:2019 ExtendedDateTimeFormat Profile

Definition

Namespace: MoreDateTime
Assembly: MoreDateTime (in MoreDateTime.dll) Version: 1.3.0
Inheritance
Object    ExtendedDateTime
Implements
IExtendedDateTimeCollectionChild, IExtendedDateTimeExtremityProvider, IExtendedDateTimeIndependentType, ISingleExtendedDateTimeType, ICloneable, IComparable, IComparableExtendedDateTime, IEquatableExtendedDateTime, ISerializable, IXmlSerializable

Constructors

ExtendedDateTime(String) Initializes a new instance of the ExtendedDateTime class from a ExtendedDateTimeFormat string
ExtendedDateTime(SerializationInfo, StreamingContext) Initializes a new instance of the ExtendedDateTime class.
ExtendedDateTime(Int32, Int32, Int32, Int32, Int32, Int32, NullableTimeSpan) Initializes a new instance of the ExtendedDateTime class.
ExtendedDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) Initializes a new instance of the ExtendedDateTime class.

Properties

Comparer Gets the comparer.
Day Gets the day.
DayOfWeek Gets the day of week.
Hour Gets the hour.
IsEmpty Gets a value indicating whether all the members are unknown.
IsExplicit Gets a value indicating whether this value is explicit (with unit specifier)
IsLongYear Gets or sets a value indicating whether the year is long
IsOpen Gets a value indicating whether this value is open (means unlimited to either up or down)
IsOpenLeft Gets a value indicating whether this value is open (means unlimited to either up or down)
IsOpenRight Gets a value indicating whether this value is open (means unlimited to either up or down)
IsUnknown Gets a value indicating whether this value unknown, similar to IsOpen
Minute Gets the minute.
Month Gets the month.
Now Gets the now.
Precision Gets or sets the precision.
Season Gets the season.
Second Gets the second.
TimeZoneOffset Gets the time zone offset.
UtcOffset Gets the utc offset.
Year Gets the year.
YearExponent Gets the year exponent.
YearPrecision Gets the year precision, the significant digits of the year.

Methods

AddMonths Adds months
AddYears Adds years
Clone Clones the object
CompareTo(ExtendedDateTime) Compares to another ExtendedDateTime object
CompareTo(Object) Compares the to.
Earliest Gets the earliest possible date time
Equals(ExtendedDateTime) Compares with an ExtendedDateTime for equality
Equals(Object) Compares with an object for equality
(Overrides ObjectEquals(Object))
FromLongYear Creates a ExtendedDateTime with long year.
FromScientificNotation Creates a ExtendedDateTime from a scientific notation.
GetHashCode Gets the hash code.
(Overrides ObjectGetHashCode)
GetObjectData Gets the object data.
GetSchema Gets the schema.
Latest Gets the latest possible date time
Parse Parses a string in EDT format
ReadXml Parses from an XmlReader
SubtractMonths Subtracts months
SubtractYears Subtracts years
ToRoundedPrecision Rounds to the given precision
ToString Returns a string that represents the current object.
(Overrides ObjectToString)
WriteXml Writes a string representation to a XmlWriter

Operators

Fields

See Also