LocalDateTimeToZonedDateTimeConverter class
Converts LocalDateTime to ZonedDateTime with specified zone
Example:
final converter = LocalDateTimeToZonedDateTimeConverter(ZoneId.UTC);
final zonedDateTime = converter.convert(LocalDateTime.now());
- Implemented types
-
- Converter<
S, T>
- Converter<
Constructors
Properties
Methods
-
convert(
LocalDateTime input) → ZonedDateTime -
A generic interface for converting an input of type
Sinto an output of typeT.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