java.lang.Object
io.github.projectunified.cronutils.mapper.WeekDay
All Implemented Interfaces:
Serializable

public class WeekDay extends Object implements Serializable
See Also:
  • Constructor Details

    • WeekDay

      public WeekDay(int mondayDoWValue, boolean firstDayZero)
  • Method Details

    • getMondayDoWValue

      public int getMondayDoWValue()
    • isFirstDayZero

      public boolean isFirstDayZero()
    • mapTo

      public int mapTo(int dayOfWeek, WeekDay targetWeekDayDefinition)
      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