|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.intabulas.sandler.util.SandlerUtilities
public class SandlerUtilities
SandlerUtilities
Field Summary | |
---|---|
static String |
RFC_822_DATE_FORMAT
RFC 822 style date format |
static String |
UTC_DATE_FORMAT
UTC style date format |
Method Summary | |
---|---|
static String |
downloadUrl(String url)
Returns the results of downloading the specified url |
static Date |
getDateFromUTCDate(String date)
Return a date from an ISO 8601 style String http://www.w3.org/TR/NOTE-datetime |
static String |
getUTCDate(Date date)
Return a date in UTC style |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String RFC_822_DATE_FORMAT
public static final String UTC_DATE_FORMAT
Method Detail |
---|
public static String getUTCDate(Date date)
date
- Date
public static Date getDateFromUTCDate(String date) throws ParseException
date
- String formatted as ISO 8601
ParseException
public static String downloadUrl(String url)
url
- the URL to download
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |