cronish

Cron

case class Cron(second: String, minute: String, hour: String, dmonth: String, month: String, dweek: String, year: String) extends Product with Serializable

Represents a cron schedule definition. See http://en.wikipedia.org/wiki/Cron for a definition of the parameters.

second

the second definition of the schedule

minute

the minute definition

hour

the hour definition

dmonth

the day of month definition

month

the month definition

dweek

the day of week definition

year

the year definition

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Cron
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Cron(second: String, minute: String, hour: String, dmonth: String, month: String, dweek: String, year: String)

    create a specific schedule

    create a specific schedule

    second

    the second definition of the schedule

    minute

    the minute definition

    hour

    the hour definition

    dmonth

    the day of month definition

    month

    the month definition

    dweek

    the day of week definition

    year

    the year definition

Type Members

  1. case class Actual(value: Int) extends FieldValue with Product with Serializable

  2. trait BaseFieldEval extends Fields

  3. case class DayField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  4. case class DayOfWeekField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  5. trait FieldValue extends AnyRef

  6. trait Fields extends AnyRef

  7. case class HourField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  8. case class MinuteField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  9. case class MonthField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  10. case class Potential(value: Int, cycle: Seq[Int]) extends FieldValue with Product with Serializable

  11. case class SecondField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

  12. case class YearField(field: String, now: Scalendar) extends BaseFieldEval with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object FieldLast

  5. object FieldList

  6. object FieldModifier

  7. object FieldNumber

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val dmonth: String

    the day of month definition

  11. val dweek: String

    the day of week definition

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def full: String

  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. val hour: String

    the hour definition

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val minute: String

    the minute definition

  19. val month: String

    the month definition

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def next: Long

    returns the number of milliseconds form the current time to the next schedule time.

    returns the number of milliseconds form the current time to the next schedule time. This is equivalent to:

    {{ nextFrom(Scalendar.now) }}

  22. def nextFrom(now: Scalendar): Long

    returns the number of milliseconds from the defined date to the next schedule time

  23. def nextTime: Scalendar

    returns the number of milliseconds from the epoch time to the next schedule time.

  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. val second: String

    the second definition of the schedule

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    Cron → AnyRef → Any
  29. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. val year: String

    the year definition

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped