StringToZonedDateTimeConverter class

Converts String to ZonedDateTime using ZonedDateTime.parse()

Supports ISO 8601 format with timezone information

Example:

final converter = StringToZonedDateTimeConverter();
final zonedDateTime = converter.convert('2023-12-25T15:30:00+01:00[Europe/Paris]');
Implemented types

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

convert(String input) → ZonedDateTime
A generic interface for converting an input of type S into an output of type T.
override
getPackageName() → String
Represents an abstraction for identifying the package that an object, resource, or service belongs to.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited