public static enum LuceneUtils.Resolution extends Enum<LuceneUtils.Resolution>
| Enum Constant and Description |
|---|
DAY
Limit a date's resolution to day granularity.
|
HOUR
Limit a date's resolution to hour granularity.
|
MILLISECOND
Limit a date's resolution to millisecond granularity.
|
MINUTE
Limit a date's resolution to minute granularity.
|
MONTH
Limit a date's resolution to month granularity.
|
SECOND
Limit a date's resolution to second granularity.
|
YEAR
Limit a date's resolution to year granularity.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
this method returns the name of the resolution
in lowercase (for backwards compatibility)
|
static LuceneUtils.Resolution |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LuceneUtils.Resolution[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LuceneUtils.Resolution YEAR
public static final LuceneUtils.Resolution MONTH
public static final LuceneUtils.Resolution DAY
public static final LuceneUtils.Resolution HOUR
public static final LuceneUtils.Resolution MINUTE
public static final LuceneUtils.Resolution SECOND
public static final LuceneUtils.Resolution MILLISECOND
public static LuceneUtils.Resolution[] values()
for (LuceneUtils.Resolution c : LuceneUtils.Resolution.values()) System.out.println(c);
public static LuceneUtils.Resolution 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 String toString()
toString in class Enum<LuceneUtils.Resolution>Copyright © 2003–2022 Atlassian. All rights reserved.