public class WeekDay extends Object
Constructor and Description |
---|
WeekDay(int mondayDoWValue,
boolean firstDayZero) |
Modifier and Type | Method and Description |
---|---|
int |
getMondayDoWValue() |
boolean |
isFirstDayZero() |
int |
mapTo(int dayOfWeek,
WeekDay targetWeekDayDefinition)
Maps given WeekDay to representation hold by this instance.
|
public int getMondayDoWValue()
public boolean isFirstDayZero()
public int mapTo(int dayOfWeek, WeekDay targetWeekDayDefinition)
targetWeekDayDefinition
- - referred weekDaydayOfWeek
- - day of week to be mapped.
Value corresponds to this instance mapping.Copyright © 2015. All rights reserved.