public class HttpDateUtils extends Object
Date parsing utils.
Handles reusing date formatters, as well as which date formats that will be used to parse various headers.
Constructor and Description |
---|
HttpDateUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
format(Date date)
Format the given date into Swagger RFC3339 date-time format.
|
static String |
formatAlwaysIncludeMillis(Date date)
Format the given date into Swagger RFC3339 date-time format.
|
Copyright © 2016–2024. All rights reserved.