The DailyCalendar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DailyCalendar(DateTime, DateTime) |
Create a DailyCalendar with a time range defined by the
specified DateTimes and no
baseCalendar. The Calendars are subject to the following
considerations:
| |
DailyCalendar(Int64, Int64) |
Create a DailyCalendar with a time range defined by the
specified values and no baseCalendar. The values are
subject to the following considerations:
| |
DailyCalendar(String, String) |
Create a DailyCalendar with a time range defined by the
specified strings and no baseCalendar.
and
must be in the format "HH:MM[:SS[:mmm]]" where:
| |
DailyCalendar(ICalendar, DateTime, DateTime) |
Create a DailyCalendar with a time range defined by the
specified DateTimes and the specified
. The Calendars are subject to the following
considerations:
| |
DailyCalendar(ICalendar, Int64, Int64) |
Create a DailyCalendar with a time range defined by the
specified values and the specified . The values
are subject to the following considerations:
| |
DailyCalendar(ICalendar, String, String) |
Create a DailyCalendar with a time range defined by the
specified strings and the specified baseCalendar.
and
must be in the format "HH:MM[:SS[:mmm]]" where:
| |
DailyCalendar(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Create a DailyCalendar with a time range defined by the
specified values and no baseCalendar. Values are subject to
the following validations:
| |
DailyCalendar(ICalendar, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Create a DailyCalendar with a time range defined by the
specified values and the specified . Values are
subject to the following validations:
|
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Overrides Object Equals(Object).) | |
Equals(DailyCalendar) | ||
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetBaseCalendar |
Get the base calendar. Will be null, if not set.
(Inherited from BaseCalendar.) | |
GetHashCode | (Overrides Object GetHashCode .) | |
GetNextIncludedTimeUtc |
Determine the next time (in milliseconds) that is 'included' by the
Calendar after the given time. Return the original value if timeStamp is
included. Return 0 if all days are excluded.
(Overrides BaseCalendar GetNextIncludedTimeUtc(DateTime).) | |
GetTimeRangeEndingTimeUtc |
Returns the end time of the time range of the day
specified in | |
GetTimeRangeStartingTimeUtc |
Returns the start time of the time range of the day
specified in .
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsTimeIncluded |
Determine whether the given time is 'included' by the
Calendar.
(Overrides BaseCalendar IsTimeIncluded(DateTime).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetTimeRange(DateTime, DateTime) |
Sets the time range for the DailyCalendar to the times
represented in the specified DateTimes.
| |
SetTimeRange(Int64, Int64) |
Sets the time range for the DailyCalendar to the times
represented in the specified values.
| |
SetTimeRange(String, String) |
Sets the time range for the DailyCalendar to the times
represented in the specified Strings.
| |
SetTimeRange(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32) |
Sets the time range for the DailyCalendar to the times
represented in the specified values.
| |
ToString | (Overrides Object ToString .) |
Properties
Name | Description | |
---|---|---|
CalendarBase |
Set a new base calendar or remove the existing one
(Inherited from BaseCalendar.) | |
Description |
Gets or sets the description given to the ICalendar instance by
its creator (if any).
(Inherited from BaseCalendar.) | |
InvertTimeRange |
Indicates whether the time range represents an inverted time range (see
class description).
| |
TimeZone |
Gets or sets the time zone.
(Inherited from BaseCalendar.) |
See Also