java.time.ZonedDateTime to java.util.Calendar .
Note that Spring's default ConversionService setup understands the 'from'/'to' convention
that the JSR-310 java.time package consistently uses. That convention is implemented
reflectively in ObjectToObjectConverter, not in specific JSR-310 converters.
It covers java. as well, and also
java. and java..
java.util.GregorianCalendar#from(java.time.ZonedDateTime)
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Calendar | convert(ZonedDateTime
the source object to convert, which must be an instance of source)S (never null)Implements org. S to target type T.
|
| ZonedDateTimeToCalendarConverter | back to summary |
|---|---|
| pack-priv ZonedDateTimeToCalendarConverter() | |
| convert | back to summary |
|---|---|
| public Calendar convert(ZonedDateTime source) Implements org. Doc from org. Convert the source object of type
| |