com.cloudbees.api
Class DateHelper
java.lang.Object
com.cloudbees.api.DateHelper
public class DateHelper
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateHelper
public DateHelper()
parseW3CDate
public static Date parseW3CDate(String dateString)
throws ParseException
- Throws:
ParseException
parseRssDate
public static Date parseRssDate(String dateString)
throws ParseException
- Throws:
ParseException
parseW3CDateWithFractionalSeconds
public static Date parseW3CDateWithFractionalSeconds(String dateString)
throws ParseException
- Throws:
ParseException
toW3CDateString
public static String toW3CDateString(Date d)
parseW3CDateRobust
public static Date parseW3CDateRobust(String dateString)
throws ParseException
- Throws:
ParseException
Copyright © 2011-2013. All Rights Reserved.