Home | History | Annotate | Download | only in datatype

Lines Matching refs:Field

122      * Designation that an "int" field is not set.
127 * <p>A constant that represents the years field.</p>
129 public static final Field YEARS = new Field("YEARS", 0);
132 * <p>A constant that represents the months field.</p>
134 public static final Field MONTHS = new Field("MONTHS", 1);
137 * <p>A constant that represents the days field.</p>
139 public static final Field DAYS = new Field("DAYS", 2);
142 * <p>A constant that represents the hours field.</p>
144 public static final Field HOURS = new Field("HOURS", 3);
147 * <p>A constant that represents the minutes field.</p>
149 public static final Field MINUTES = new Field("MINUTES", 4);
152 * <p>A constant that represents the seconds field.</p>
154 public static final Field SECONDS = new Field("SECONDS", 5);
160 public static final class Field {
163 * <p><code>String</code> representation of <ode>Field</code>.</p>
167 * <p>Unique id of the field.</p>
175 * <p>Construct a <code>Field</code> with specified values.</p>
176 * @param str <code>String</code> representation of <code>Field</code>
177 * @param id <code>int</code> representation of <code>Field</code>
179 private Field(final String str, final int id) {
184 * Returns a field name in English. This method
194 * <p>Get id of this Field.</p>
196 * @return Id of field.