Sam Stone
07/27/2023, 6:58 PMjava.util.TimeZone.getRawOffset()
. It doesn’t seem like there is an equivalent in kotlinx-datetime. If I am wrong, how can I achieve equivalent results? If I am right, where can I submit a feature request?
/**
* Returns the amount of time in milliseconds to add to UTC to get
* standard time in this time zone. Because this value is not
* affected by daylight saving time, it is called <I>raw
* offset</I>.
* <p>
* If an underlying {@code TimeZone} implementation subclass
* supports historical GMT offset changes, the method returns the
* raw offset value of the current date. In Honolulu, for example,
* its raw offset changed from GMT-10:30 to GMT-10:00 in 1947, and
* this method always returns -36000000 milliseconds (i.e., -10
* hours).
*
* @return the amount of raw offset time in milliseconds to add to UTC.
* @see Calendar#ZONE_OFFSET
*/
public abstract int getRawOffset();
Vsevolod Tolstopyatov [JB]
07/27/2023, 10:32 PMwhere can I submit a feature request?https://github.com/Kotlin/kotlinx-datetime/issues is a good place to start