public final class DateFormatUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatISO8601(Date date,
TimeZone timeZone)
Formats the date according to ISO 8601 standard.
|
static String |
formatPDFDate(Date date,
TimeZone timeZone)
Formats the date according to PDF format.
|
static Date |
parseISO8601Date(String date)
Parses an ISO 8601 date and time value.
|
public static String formatPDFDate(Date date, TimeZone timeZone)
date
- The date time to formattimeZone
- The time zone used to format the datepublic static String formatISO8601(Date date, TimeZone timeZone)
date
- The date time to formattimeZone
- The time zone used to format the dateCopyright © 2021 Apache Software Foundation. All rights reserved.