@Deprecated public class CalendarSwap extends StringSwap<Calendar>
Calendars
to Strings
.
CalendarSwap.ToString
- To Strings
using the Date.toString()
method.
CalendarSwap.ISO8601DT
- To ISO8601 date-time strings.
CalendarSwap.ISO8601DTZ
- Same as CalendarSwap.ISO8601DT
, except always serializes in GMT.
CalendarSwap.ISO8601DTP
- Same as CalendarSwap.ISO8601DT
except with millisecond precision.
CalendarSwap.ISO8601DTPZ
- Same as CalendarSwap.ISO8601DTZ
except with millisecond precision.
CalendarSwap.RFC2822DT
- To RFC2822 date-time strings.
CalendarSwap.RFC2822DTZ
- Same as CalendarSwap.RFC2822DT
, except always serializes in GMT.
CalendarSwap.RFC2822D
- To RFC2822 date strings.
CalendarSwap.DateTimeSimple
- To simple CalendarSwap.DateSimple
- To simple CalendarSwap.TimeSimple
- To simple CalendarSwap.DateFull
- To DateFormat.FULL
date strings.
CalendarSwap.DateLong
- To DateFormat.LONG
date strings.
CalendarSwap.DateMedium
- To DateFormat.MEDIUM
date strings.
CalendarSwap.DateShort
- To DateFormat.SHORT
date strings.
CalendarSwap.TimeFull
- To DateFormat.FULL
time strings.
CalendarSwap.TimeLong
- To DateFormat.LONG
time strings.
CalendarSwap.TimeMedium
- To DateFormat.MEDIUM
time strings.
CalendarSwap.TimeShort
- To DateFormat.SHORT
time strings.
CalendarSwap.DateTimeFull
- To DateFormat.FULL
date-time strings.
CalendarSwap.DateTimeLong
- To DateFormat.LONG
date-time strings.
CalendarSwap.DateTimeMedium
- To DateFormat.MEDIUM
date-time strings.
CalendarSwap.DateTimeShort
- To DateFormat.SHORT
date-time strings.
TemporalCalendarSwap
Modifier and Type | Class and Description |
---|---|
static class |
CalendarSwap.DateFull
Deprecated.
Transforms
Calendars to DateFormat.FULL date strings. |
static class |
CalendarSwap.DateLong
Deprecated.
Transforms
Calendars to DateFormat.LONG date strings. |
static class |
CalendarSwap.DateMedium
Deprecated.
Transforms
Calendars to DateFormat.MEDIUM date strings. |
static class |
CalendarSwap.DateShort
Deprecated.
Transforms
Calendars to DateFormat.SHORT date strings. |
static class |
CalendarSwap.DateSimple
Deprecated.
Transforms
Calendars to simple |
static class |
CalendarSwap.DateTimeFull
Deprecated.
Transforms
Calendars to DateFormat.FULL date-time strings. |
static class |
CalendarSwap.DateTimeLong
Deprecated.
Transforms
Calendars to DateFormat.LONG date-time strings. |
static class |
CalendarSwap.DateTimeMedium
Deprecated.
Transforms
Calendars to DateFormat.MEDIUM date-time strings. |
static class |
CalendarSwap.DateTimeShort
Deprecated.
Transforms
Calendars to DateFormat.SHORT date-time strings. |
static class |
CalendarSwap.DateTimeSimple
Deprecated.
Transforms
Calendars to simple |
static class |
CalendarSwap.ISO8601D
Deprecated.
ISO8601 date only.
|
static class |
CalendarSwap.ISO8601DT
Deprecated.
Transforms
Calendars to ISO8601 date-time strings. |
static class |
CalendarSwap.ISO8601DTL
Deprecated.
Transforms
Calendars to ISO8601 date-time-local strings. |
static class |
CalendarSwap.ISO8601DTP
Deprecated.
Same as
CalendarSwap.ISO8601DT except serializes to millisecond precision. |
static class |
CalendarSwap.ISO8601DTPZ
Deprecated.
Same as
CalendarSwap.ISO8601DTZ except serializes to millisecond precision. |
static class |
CalendarSwap.ISO8601DTZ
Deprecated.
Same as
CalendarSwap.ISO8601DT , except always serializes in GMT. |
static class |
CalendarSwap.RFC2822D
Deprecated.
Transforms
Calendars to RFC2822 date strings. |
static class |
CalendarSwap.RFC2822DT
Deprecated.
Transforms
Calendars to RFC2822 date-time strings. |
static class |
CalendarSwap.RFC2822DTZ
Deprecated.
Same as
CalendarSwap.RFC2822DT , except always serializes in GMT. |
static class |
CalendarSwap.TimeFull
Deprecated.
Transforms
Calendars to DateFormat.FULL time strings. |
static class |
CalendarSwap.TimeLong
Deprecated.
Transforms
Calendars to DateFormat.LONG time strings. |
static class |
CalendarSwap.TimeMedium
Deprecated.
Transforms
Calendars to DateFormat.MEDIUM time strings. |
static class |
CalendarSwap.TimeShort
Deprecated.
Transforms
Calendars to DateFormat.SHORT time strings. |
static class |
CalendarSwap.TimeSimple
Deprecated.
Transforms
Calendars to simple |
static class |
CalendarSwap.ToString
Deprecated.
|
Constructor and Description |
---|
CalendarSwap()
Deprecated.
|
swap, unswap
forMediaTypes, forMediaTypes, getNormalClass, getSwapClass, getSwapClassMeta, isNormalObject, isSwappedObject, match, swap, toString, unswap, withTemplate, withTemplate
public CalendarSwap()
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.