This implementation of the Calendar may be used (you don't have to) as a
base class for more sophisticated one's. It merely implements the base
functionality required by each Calendar.
Inheritance Hierarchy
Quartz.Impl.CalendarBaseCalendar
More...
Namespace: Quartz.Impl.Calendar
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
[SerializableAttribute] public class BaseCalendar : ICalendar, ISerializable, IEquatable<BaseCalendar>
The BaseCalendar type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BaseCalendar |
Initializes a new instance of the BaseCalendar class.
| |
BaseCalendar(TimeZoneInfo) |
Initializes a new instance of the BaseCalendar class.
| |
BaseCalendar(ICalendar) |
Initializes a new instance of the BaseCalendar class.
| |
BaseCalendar(SerializationInfo, StreamingContext) |
Serialization constructor.
| |
BaseCalendar(ICalendar, TimeZoneInfo) |
Initializes a new instance of the BaseCalendar class.
|
Properties
Name | Description | |
---|---|---|
CalendarBase |
Set a new base calendar or remove the existing one
| |
Description |
Gets or sets the description given to the ICalendar instance by
its creator (if any).
| |
TimeZone |
Gets or sets the time zone.
|
Methods
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
| |
CloneFields | ||
Equals(Object) | (Overrides ObjectEquals(Object).) | |
Equals(BaseCalendar) | ||
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | (Overrides ObjectGetHashCode.) | |
GetNextIncludedTimeUtc |
Determine the next UTC 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.
| |
GetObjectData | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsTimeIncluded |
Check if date/time represented by timeStamp is included. If included
return true. The implementation of BaseCalendar simply calls the base
calendars IsTimeIncluded() method if base calendar is set.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
See Also
Reference
Inheritance Hierarchy
Quartz.Impl.CalendarBaseCalendar
Quartz.Impl.CalendarAnnualCalendar
Quartz.Impl.CalendarCronCalendar
Quartz.Impl.CalendarDailyCalendar
Quartz.Impl.CalendarHolidayCalendar
Quartz.Impl.CalendarMonthlyCalendar
Quartz.Impl.CalendarWeeklyCalendar