public abstract class TimeZone extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
TimeZone() |
Modifier and Type | Method and Description |
---|---|
static TimeZone |
create(String timeZoneId,
int offsetWithDst,
int offsetWithoutDst)
Create a new
TimeZone |
abstract int |
getOffsetWithDst()
Offset, in seconds, from UTC to local time, including DST offset.
|
abstract int |
getOffsetWithoutDst()
Offset, in seconds, from UTC to local time, without DST offset.
|
abstract String |
getTimeZoneId()
Time zone ID, from Java 8/unicode, e.g.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
describeContents, writeToParcel
public abstract String getTimeZoneId()
public abstract int getOffsetWithDst()
public abstract int getOffsetWithoutDst()