setDateTime method
Method to set the TimeZone. If this is ever set after the GeoLocation is set in the {@link net.sourceforge.zmanim.AstronomicalCalendar}, it is critical that {@link net.sourceforge.zmanim.AstronomicalCalendar#getCalendar()}. {@link java.util.Calendar#setTimeZone(TimeZone) setTimeZone(TimeZone)} be called in order for the AstronomicalCalendar to output times in the expected offset. This situation will arise if the AstronomicalCalendar is ever {@link net.sourceforge.zmanim.AstronomicalCalendar#clone() cloned}.
@param timeZone The timeZone to set.
Implementation
void setDateTime(DateTime dateTime) {
_dateTime = dateTime;
}