DateUtils

Class of org.apache.http.impl.cookie · DateUtils.java

public final class DateUtils

Fields

public static final String PATTERN_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz" source
public static final String PATTERN_RFC1036 = "EEEE, dd-MMM-yy HH:mm:ss zzz" source
public static final String PATTERN_ASCTIME = "EEE MMM d HH:mm:ss yyyy" source
public static final TimeZone GMT source

Methods

public static Date parseDate(String dateValue) throws DateParseException source
public static Date parseDate(String dateValue, String[] dateFormats) throws DateParseException source
public static Date parseDate(String dateValue, String[] dateFormats, Date startDate) throws DateParseException source
public static String formatDate(Date date) source
public static String formatDate(Date date, String pattern) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.