All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bidib.wizard.api.model.MacroRepeatDay Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy