Companion

object Companion

An implementation of the Object.clone method that creates a deep copy of the object. Note: If the TimeZone in the clone will be changed from the original, it is critical that com.kosherjava.zmanim.AstronomicalCalendar.getCalendar. java.util.Calendar.setTimeZone is called after cloning in order for the AstronomicalCalendar to output times in the expected offset.

Since

1.1

See also

Object.clone

Properties

Link copied to clipboard
Link copied to clipboard
val TimeZone.rawOffset: Int

This is a best approximation of java.util.TimeZone.getRawOffset, which returns the offset, regardless of daylight savings time - possibly even with historic accuracy. The current implementation uses a map of id to raw offset taken from the above java method.