Package org.apache.manifoldcf.crawler
Class AddScheduledTime
- java.lang.Object
-
- org.apache.manifoldcf.crawler.AddScheduledTime
-
public class AddScheduledTime extends java.lang.Object
This class is used during testing.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
protected static int
mapToHour(java.lang.String hour)
protected static int
mapToMonth(java.lang.String day)
protected static int
mapToWeekday(java.lang.String day)
protected static EnumeratedValues
parseDayOfMonth(java.lang.String list)
protected static EnumeratedValues
parseDayOfWeek(java.lang.String list)
protected static EnumeratedValues
parseHourOfDay(java.lang.String list)
protected static EnumeratedValues
parseMinutes(java.lang.String list)
protected static EnumeratedValues
parseMonthOfYear(java.lang.String list)
protected static EnumeratedValues
parseYear(java.lang.String list)
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
parseDayOfWeek
protected static EnumeratedValues parseDayOfWeek(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
mapToWeekday
protected static int mapToWeekday(java.lang.String day) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseMonthOfYear
protected static EnumeratedValues parseMonthOfYear(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
mapToMonth
protected static int mapToMonth(java.lang.String day) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseDayOfMonth
protected static EnumeratedValues parseDayOfMonth(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseYear
protected static EnumeratedValues parseYear(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseHourOfDay
protected static EnumeratedValues parseHourOfDay(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
mapToHour
protected static int mapToHour(java.lang.String hour) throws java.lang.Exception
- Throws:
java.lang.Exception
-
parseMinutes
protected static EnumeratedValues parseMinutes(java.lang.String list) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-