|
DateTime? | GetNextOccurrence (DateTime fromUtc, bool inclusive=false) |
| Calculates next occurrence starting with fromUtc (optionally inclusive ) in UTC time zone.
|
|
IEnumerable< DateTime > | GetOccurrences (DateTime fromUtc, DateTime toUtc, bool fromInclusive=true, bool toInclusive=false) |
| Returns the list of next occurrences within the given date/time range, including fromUtc and excluding toUtc by default, and UTC time zone. When none of the occurrences found, an empty list is returned.
|
|
DateTime? | GetNextOccurrence (DateTime fromUtc, TimeZoneInfo zone, bool inclusive=false) |
| Calculates next occurrence starting with fromUtc (optionally inclusive ) in given zone
|
|
IEnumerable< DateTime > | GetOccurrences (DateTime fromUtc, DateTime toUtc, TimeZoneInfo zone, bool fromInclusive=true, bool toInclusive=false) |
| Returns the list of next occurrences within the given date/time range, including fromUtc and excluding toUtc by default, and specified time zone. When none of the occurrences found, an empty list is returned.
|
|
DateTimeOffset? | GetNextOccurrence (DateTimeOffset from, TimeZoneInfo zone, bool inclusive=false) |
| Calculates next occurrence starting with from (optionally inclusive ) in given zone
|
|
IEnumerable< DateTimeOffset > | GetOccurrences (DateTimeOffset from, DateTimeOffset to, TimeZoneInfo zone, bool fromInclusive=true, bool toInclusive=false) |
| Returns the list of occurrences within the given date/time offset range, including from and excluding to by default. When none of the occurrences found, an empty list is returned.
|
|
override string | ToString () |
|
bool | Equals (CronExpression other) |
| Determines whether the specified Object is equal to the current Object.
|
|
override bool | Equals (object obj) |
| Determines whether the specified System.Object is equal to this instance.
|
|
override int | GetHashCode () |
| Returns a hash code for this instance.
|
|
Provides a parser and scheduler for cron expressions.