public final class DateUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
formatDate(Date date)
Formats the given date according to the RFC 1123 pattern.
|
static String |
formatDate(long date)
Formats the given date according to the RFC 1123 pattern.
|
public static String formatDate(Date date)
date
- The date to format.public static String formatDate(long date)
date
- The date to format.Copyright © 2008–2018. All rights reserved.