A better way to do it (that having a load of ints) is just to create a class:
Code:
public class Day
{
private String name;
private Day(String name)
{ this.name = name }
public Static SUNDAY = new Day("Sunday");
public Static MONDAY = new Day("Monday");
...
}
Then you can be sure that Day.MONDAY only every == Day.MONDAY, and that you actually have a Day, rather than just a number being passed to you.