TimeZone class
Constructors
-
TimeZone({required String tzId, required List<
TimeZoneTransition> transitions}) - TimeZone.fromICalString(String icalString)
-
factory
- TimeZone.fromJson(String source)
-
factory
-
TimeZone.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isUtc → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transitions
→ List<
TimeZoneTransition> -
final
- tzId → String
-
final
Methods
-
copyWith(
{String? tzId, List< TimeZoneTransition> ? transitions}) → TimeZone -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toICalString(
) → String -
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
timeZoneConvert(
DateTime dateTime, String tzid) → DateTime