Package edu.fiu.jtlex.data
Enum ITimex.TimexMod
java.lang.Object
java.lang.Enum<ITimex.TimexMod>
edu.fiu.jtlex.data.ITimex.TimexMod
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ITimex.TimexMod>,java.lang.constant.Constable
- Enclosing interface:
- ITimex
public static enum ITimex.TimexMod extends java.lang.Enum<ITimex.TimexMod>
An enum that represents the twelve different Mod states an object may
belong to.
Mod may belong to:
Mod may belong to:
- BEFORE
- AFTER
- ON_OR_BEFORE
- ON_OR_AFTER
- LESS_THAN
- MORE_THAN
- EQUAL_OR_LESS
- EQUAL_OR_MORE
- START
- MID
- END
- APPROX
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTERPoint: less than (“less than a year ago”)APPROXPoint and duration: about (e.g., “about three years ago”), around (e.g., “around three o’clock”), or approximately (e.g., “approximately one hour”).BEFOREPoint: more than (“more than a decade ago”)ENDPoint and Duration: end or late (e.g., “late afternoon”)EQUAL_OR_LESSDuration: no more than (e.g., “...will be open no more than 10 days”)EQUAL_OR_MOREDuration: at least (e.g., “...will be open at least 10 days”)LESS_THANDuration: less than (e.g., “less than 2 hours long”) or nearly (e.g., "nearly four decades of experience")MIDPoint and Duration: middle (e.g., “the middle of the month”) or mid- (e.g., “mid-February”)MORE_THANDuration: more than (e.g., "more than 5 minutes”)ON_OR_AFTERPoint: no more than (“no more than a year ago”)ON_OR_BEFOREPoint: no less than (“no less than a year ago”)STARTPoint and Duration: early (e.g., "the early 1960s"), dawn (e.g., "the dawn of 2000"), start (e.g., "the start of the quarter"), or beginning -
Method Summary
Modifier and Type Method Description static ITimex.TimexModvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ITimex.TimexMod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BEFORE
Point: more than (“more than a decade ago”) -
AFTER
Point: less than (“less than a year ago”) -
ON_OR_BEFORE
Point: no less than (“no less than a year ago”) -
ON_OR_AFTER
Point: no more than (“no more than a year ago”) -
LESS_THAN
Duration: less than (e.g., “less than 2 hours long”) or nearly (e.g., "nearly four decades of experience") -
MORE_THAN
Duration: more than (e.g., "more than 5 minutes”) -
EQUAL_OR_LESS
Duration: no more than (e.g., “...will be open no more than 10 days”) -
EQUAL_OR_MORE
Duration: at least (e.g., “...will be open at least 10 days”) -
START
Point and Duration: early (e.g., "the early 1960s"), dawn (e.g., "the dawn of 2000"), start (e.g., "the start of the quarter"), or beginning -
MID
Point and Duration: middle (e.g., “the middle of the month”) or mid- (e.g., “mid-February”) -
END
Point and Duration: end or late (e.g., “late afternoon”) -
APPROX
Point and duration: about (e.g., “about three years ago”), around (e.g., “around three o’clock”), or approximately (e.g., “approximately one hour”).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-