public class HttpDateFormat extends Object
Modifier and Type | Field and Description |
---|---|
protected static SimpleDateFormat |
format |
Constructor and Description |
---|
HttpDateFormat() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
static Date |
toDate(String dateString) |
static long |
toLong(String dateString) |
static String |
toString(Calendar cal) |
static String |
toString(Date date)
Get the HTTP format of the specified date.
|
static String |
toString(long time) |
protected static SimpleDateFormat format
public static String toString(long time)
public static Date toDate(String dateString) throws ParseException
ParseException
public static long toLong(String dateString) throws ParseException
ParseException
Copyright © 2014 The Apache Software Foundation