I am writing a program that sets a date range based on what weekday the report
is run on wednesday or thursday if it runs on wednesday I want calendar.add(GregorianCalendar.DATE,-1)
if it is thursday calendar.add(GregorianCalendar.DATE,-2)the other part of
the range take that date and subtracts 6.

calendar.get(calendar.DAY_OF_WEEK)has me confused. It is stored as an int
but in the JavaDoc they show the day name as the value.

Can anyone explain calendar.DAY_OF_WEEK?

Thanks in advance!