public enum DateFormat extends Enum<DateFormat>
Enum Constant and Description |
---|
ALTERNATE_COOKIE_DATE_FORMAT |
ALTERNATE_DATE_FORMAT |
DE_DATE_FORMAT |
FILENAME_DATE_FORMAT |
MIN_DATE_FORMAT |
NETSCAPE_COOKIE_DATE_FORMAT
See https://de.wikipedia.org/wiki/HTTP-Cookie#Cookies_nach_Netscape-
specification
|
NORM_DATE_FORMAT |
Modifier and Type | Method and Description |
---|---|
DateTimeFormatter |
getFormatter() |
static DateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateFormat NETSCAPE_COOKIE_DATE_FORMAT
public static final DateFormat ALTERNATE_COOKIE_DATE_FORMAT
public static final DateFormat MIN_DATE_FORMAT
public static final DateFormat NORM_DATE_FORMAT
public static final DateFormat ALTERNATE_DATE_FORMAT
public static final DateFormat DE_DATE_FORMAT
public static final DateFormat FILENAME_DATE_FORMAT
public static DateFormat[] values()
for (DateFormat c : DateFormat.values()) System.out.println(c);
public static DateFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic DateTimeFormatter getFormatter()
Copyright © 2016. All rights reserved.