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