Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

Foundation 1.1.2

Uses of Class
java.text.DateFormat.Field

Packages that use DateFormat.Field
java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages. 
 

Uses of DateFormat.Field in java.text
 

Fields in java.text declared as DateFormat.Field
static DateFormat.Field DateFormat.Field.ERA
          Constant identifying the era field.
static DateFormat.Field DateFormat.Field.YEAR
          Constant identifying the year field.
static DateFormat.Field DateFormat.Field.MONTH
          Constant identifying the month field.
static DateFormat.Field DateFormat.Field.DAY_OF_MONTH
          Constant identifying the day of month field.
static DateFormat.Field DateFormat.Field.HOUR_OF_DAY1
          Constant identifying the hour of day field, where the legal values are 1 to 24.
static DateFormat.Field DateFormat.Field.HOUR_OF_DAY0
          Constant identifying the hour of day field, where the legal values are 0 to 23.
static DateFormat.Field DateFormat.Field.MINUTE
          Constant identifying the minute field.
static DateFormat.Field DateFormat.Field.SECOND
          Constant identifying the second field.
static DateFormat.Field DateFormat.Field.MILLISECOND
          Constant identifying the millisecond field.
static DateFormat.Field DateFormat.Field.DAY_OF_WEEK
          Constant identifying the day of week field.
static DateFormat.Field DateFormat.Field.DAY_OF_YEAR
          Constant identifying the day of year field.
static DateFormat.Field DateFormat.Field.DAY_OF_WEEK_IN_MONTH
          Constant identifying the day of week field.
static DateFormat.Field DateFormat.Field.WEEK_OF_YEAR
          Constant identifying the week of year field.
static DateFormat.Field DateFormat.Field.WEEK_OF_MONTH
          Constant identifying the week of month field.
static DateFormat.Field DateFormat.Field.AM_PM
          Constant identifying the time of day indicator (e.g.
static DateFormat.Field DateFormat.Field.HOUR1
          Constant identifying the hour field, where the legal values are 1 to 12.
static DateFormat.Field DateFormat.Field.HOUR0
          Constant identifying the hour field, where the legal values are 0 to 11.
static DateFormat.Field DateFormat.Field.TIME_ZONE
          Constant identifying the time zone field.
 

Methods in java.text that return DateFormat.Field
static DateFormat.Field DateFormat.Field.ofCalendarField(int calendarField)
          Returns the Field constant that corresponds to the Calendar constant calendarField.
 


Foundation 1.1.2

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 219 specification.