Timezone
The time zone of the phone.
Collected by TimezoneProbe for the DeviceSamplingPackage.TIMEZONE measure.
See List of tz database time zones for an overview of timezones.
- Inheritance
-
- Object
- Serializable
- Data
- Timezone
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
Timezone.fromJson
Timezone
- String timezone
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
timezone
getter/setter pair
The tz database name of the time zone, e.g. Europe/Copenhagen.
Methods
equivalentTo
Returns true if the timezone of other is the same as this timezone.
toJson
Return a JSON encoding of this object.