I have a boolean array, which goes from 1-7 corresponding to week days, starting on monday.
Now, I want to retrieve today's day of week (i.e.: Monday, Tuesday...), starting from Monday. I've been using this code :
Calendar c = Calendar.getInstance();
int index = c.get(Calendar.DAY_OF_WEEK)-1;//array starts on 0 and DAY_OF_WEEK on 1
but since a Calendar.getInstance() is localized, Iwas thinking that depending on the user's location, a Monday could either correspond to 1 or to 0. Now, what I'd like to know is whether or not, if the user's location changes, the DAY_OF_WEEK will change or not?
Could you help me figure it out?
Thanks.