org.bidib.wizard.api.model.MacroRepeatDay Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-api Show documentation
Show all versions of bidibwizard-api Show documentation
jBiDiB BiDiB Wizard API POM
package org.bidib.wizard.api.model;
public enum MacroRepeatDay {
// @formatter:off
ALL("everyDay", 7), SUNDAY("sunday", 6), MONDAY("monday", 0), TUESDAY("tuesday", 1), WEDNESDAY("wednesday", 2),
THURSDAY("thursday", 3), FRIDAY("friday", 4), SATURDAY("saturday", 5);
// @formatter:on
private final String label;
private final int value;
MacroRepeatDay(String label, int value) {
this.label = label;
this.value = value;
}
public int getValue() {
return value;
}
@Override
public String toString() {
return label;
}
}