CrontabField Class

Namespace:
Weavy.Core.Cron
Assembly:
Weavy.Core.dll

Represents a single crontab field.

public sealed class CrontabField : ICrontabField
Inheritance:
System.Object → CrontabField
Implements:
ICrontabField

Methods

Contains(Int32) Determines if the given value occurs in the field.
Days(String) Parses a crontab field expression representing days in any given month.
DaysOfWeek(String) Parses a crontab field expression representing days of a week.
Format(TextWriter)
Format(TextWriter, Boolean)
GetFirst() Gets the first value of the field or -1.
Hours(String) Parses a crontab field expression representing hours.
Minutes(String) Parses a crontab field expression representing minutes.
Months(String) Parses a crontab field expression representing months.
Next(Int32) Gets the next value of the field that occurs after the given start value or -1 if there is no next value available.
Parse(CrontabFieldKind, String) Parses a crontab field expression given its kind.
ToString()
ToString(String)
TryParse(CrontabFieldKind, String)
TryParse(CrontabFieldKind, String, ExceptionHandler)

Extension Methods

IsNullOrDefault(T) Gets a value indicating if the specified value has the default value of the generic type.
Serialize(Object) Serializes an object, or graph of connected objects, to a byte array.
SerializeToJson(Object, Nullable, JsonSerializerSettings) Serializes an object, or graph of connected objects, to a json string.
IsValid(Object) Determines whether the specified object is valid by evaluating each ValidationAttribute instance that is attached to the object type.