@DoNotObfuscate public enum DateResolution extends java.lang.Enum<DateResolution> implements java.util.Comparator<java.util.Calendar>
| Modifier and Type | Method and Description | 
|---|---|
int | 
compare(java.util.Calendar left,
       java.util.Calendar right)
This methods formats the two instances given by the parameters and
 compares them as string values. 
 | 
java.lang.String | 
format(java.util.Calendar calendar)
This method returns a formatted date string of the calender instance,
 given by the parameter, according to the date pattern of the instance
 of this enumeration. 
 | 
java.lang.String | 
getPattern()
This method returns the pattern holded by the instance of this
 enumeration. 
 | 
static DateResolution | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static DateResolution[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DateResolution DATE
public static final DateResolution DATETIME
public static DateResolution[] values()
for (DateResolution c : DateResolution.values()) System.out.println(c);
public static DateResolution valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getPattern()
@Guarded
public int compare(java.util.Calendar left,
                  java.util.Calendar right)
The two parameters can't be null, because they are instances of this
compare in interface java.util.Comparator<java.util.Calendar>@Guarded public java.lang.String format(java.util.Calendar calendar)
Copyright (C) PDFUnit.com. See here for license.