Class WeekDay
java.lang.Object
io.github.projectunified.cronutils.mapper.WeekDay
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanintMaps given WeekDay to representation hold by this instance.
-
Constructor Details
-
WeekDay
public WeekDay(int mondayDoWValue, boolean firstDayZero)
-
-
Method Details
-
getMondayDoWValue
public int getMondayDoWValue() -
isFirstDayZero
public boolean isFirstDayZero() -
mapTo
Maps given WeekDay to representation hold by this instance.- Parameters:
dayOfWeek- - day of week to be mapped. Value corresponds to this instance mapping.targetWeekDayDefinition- - referred weekDay- Returns:
- - int result
-