| Modifier and Type | Field and Description |
|---|---|
static JwtDateConverter |
INSTANCE |
| Constructor and Description |
|---|
JwtDateConverter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
applyFrom(Object o)
Converts the specified canonical (RFC-compliant data type) value to the preferred Java idiomatic type.
|
Object |
applyTo(Date date)
Converts the specified (Java idiomatic type) value to the canonical RFC-required data type.
|
static Date |
toDate(Object v)
Returns a
Date equivalent of the specified object value using heuristics. |
static Date |
toSpecDate(Object value)
Returns an RFC-compatible
Date equivalent of the specified object value using heuristics. |
public static final JwtDateConverter INSTANCE
public Object applyTo(Date date)
Converterpublic Date applyFrom(Object o)
Converterpublic static Date toSpecDate(Object value)
Date equivalent of the specified object value using heuristics.value - object to convert to a Date using heuristics.Date equivalent of the specified object value using heuristics.Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.