I try to enum date with special character like this :
public enum Myenum implements enumTypes
{
TO, '2015-01', '2015-02'
}
But I got an error:
Invalid character constant
in 2015-01
and 2015-02
.
I would like to know how to enum with special character.