|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.web.component.cron.parser.CronDayOfWeekEntry
public class CronDayOfWeekEntry
Parser for the day of week part of a cron string. This class is responsible for parsing and validating the day of
week entry. The isValid()
method refers only to what is supported by the cron editor for the day of week entry.
Constructor Summary | |
---|---|
CronDayOfWeekEntry(String dayOfWeekEntry)
Parses the given cron entry. |
Method Summary | |
---|---|
String |
getDayInMonthOrdinal()
Returns a number that represents the first, second third etc. |
String |
getDaysAsNumbers()
Will create a comma separated list of the days' numeric values that are specifed by the cron string. |
boolean |
isDaySpecified(String dayStr)
Will tell you if a day has been specified in the cron string. |
boolean |
isValid()
Returns true if the editor can handle the day of week field entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CronDayOfWeekEntry(String dayOfWeekEntry)
dayOfWeekEntry
- e.g. MON#2, 2#2 or MON,WED or 1,2,3 or 2L.Method Detail |
---|
public boolean isDaySpecified(String dayStr)
dayStr
- can be any of 1-7, MON-SUN, mon-sun.
public String getDayInMonthOrdinal()
public String getDaysAsNumbers()
public boolean isValid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |