Class StringToZonedDateTimeConverter
java.lang.Object
it.uniroma2.art.semanticturkey.converters.StringToZonedDateTimeConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,
ZonedDateTime>
public class StringToZonedDateTimeConverter
extends Object
implements org.springframework.core.convert.converter.Converter<String,ZonedDateTime>
Constructs a
ZonedDateTime
object from a ISO-like date-time format, such as '2011-12-03T10:15:30+01:00[Europe/Paris]'.- Author:
- Manuel Fiorelli
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
StringToZonedDateTimeConverter
public StringToZonedDateTimeConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<String,
ZonedDateTime>
-
main
-