Period / Duration values

Some configuration options allow control of execution of tasks with particular period or within certain duration. DSL file format accepts strings denoting particular amount of time, which follows Java’s native structures (see: Period and Duration for detailed explanation).

  • Duration formats accepted are based on the ISO-8601 duration format PnDTnHnMn.nS with days considered to be exactly 24 hours, for example:

    • PT20.345S - 20.345 seconds
    • PT15M - 15 minutes (where a minute is 60 seconds)
    • PT10H - 10 hours (where an hour is 3600 seconds)
    • P2D - 2 days (where a day is 24 hours or 86400 seconds)
    • P2DT3H4M - 2 days, 3 hours and 4 minutes
  • Period format is based on the ISO-8601 period formats PnYnMnD and PnW, for example, the following are valid inputs:

    • P2Y - 2 years
    • P3M - 3 months
    • P4W - 4 weeks
    • P5D - 5 days
    • P1Y2M3D - 1 year, 2 months, 3 days
    • P1Y2M3W4D - 1 year, 2 months, 3 weeks, 4 days