public static Day fromString(String inputString) {
        if (inputString != null) {
            for (Day day : Day.values()) {
                if (inputString.equalsIgnoreCase(day.value)) {
                    return day;
                }
            }
        }
        return SUNDAY;
    }