Hey everyone,
I'm still struggling with the daylight savings problem. My strategies trade only market openings, and according to my knowledge that time changes twice a year, on the last Sunday of October and the last Sunday of March.
Can someone please explain to me how this works? If I use this code:
Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("UTC"));
calendar.setTimeInMillis(_signalBarTime);
int _hours=calendar.get(Calendar.HOUR_OF_DAY);
Is the _hours value = 8 always the London open, and the _hours value = 13 always the New York open, or does this differ during twice a year?