A date on the format YYYY-MM-DD in the Gregorian calendar.
This class describes a calendar date as defined by ISO 8601.
Inheritance Hierarchy
Apptus.ESales.Connector.TimeIsoDate
Apptus.ESales.Connector.TimeCalendarDate
Namespace: Apptus.ESales.Connector.Time
Assembly: Apptus.Esales.ConnectorApi (in Apptus.Esales.ConnectorApi.dll) Version: 4.0.0
Syntax
C#
public class CalendarDate : IsoDate
The CalendarDate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CalendarDate |
Creates a new calendar date with the specified year, month and day.
The day or the day and month may be omitted for less precision.
|
Properties
Name | Description | |
---|---|---|
![]() | Day |
Returns the day in month, if specified at creation. Otherwise returns null.
|
![]() | Month |
Returns the month, if specified at creation. Otherwise returns null.
|
![]() | Year |
Returns the year. Never returns null.
(Overrides IsoDateYear.) |
Methods
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from IsoDate.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from IsoDate.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | (Overrides ObjectToString.) |
![]() | ToTimePoint |
Returns a point in time represented by that date and a supplied
time of day. If the date or time lacks precision, or if the time is
omitted, then the smallest valid point in time for this specification
is returned.
(Overrides IsoDateToTimePoint(Time, TimeZoneInfo).) |
See Also