I have an enum where
public enum Regular {
    NONE,
    HOURLY,
    DAILY,
    WEEKLY;
    public String getName() {
        return this.name().toLowerCase();
    }
}
Where we could convert it to Lower case when we get it. But if I were to convert from String to Enum, I have to explicitly remember to set toUpperCase()
Regular.valueOf(regular.toUpperCase());
Is there a way to define this in my Enum class, where it will auto convert all string to UpperCase to compare it?
 
    