Signification du terme "field" pour dateFormat()
Bonjour,
Je voudrais programmer un calendrier pour un site web en Java, je me suis plongée dans la doc de Sun en anglais mais je n'arrive pas à comprendre à quoi fait référence le terme "field". Est-ce que c'est une partie de la date? Pourriez-vous m'expliquer?
Voilà la page en question :
http://java.sun.com/j2se/1.4.2/docs/...ateFormat.html
En particulier je ne comprends pas ces définitions de méthodes où l'on utilise le terme Field:
Nested Class Summary :
static class DateFormat.Field
Defines constants that are used as attribute keys in the AttributedCharacterIterator returned from DateFormat.formatToCharacterIterator and as field identifiers in FieldPosition.
Field Summary :
static int AM_PM_FIELD
Useful constant for AM_PM field alignment.
protected Calendar calendar
The calendar that DateFormat uses to produce the time field values needed to implement date and time formatting.
static int DATE_FIELD
Useful constant for DATE field alignment.
static int DAY_OF_WEEK_FIELD
Useful constant for DAY_OF_WEEK field alignment.
static int DAY_OF_WEEK_IN_MONTH_FIELD
Useful constant for DAY_OF_WEEK_IN_MONTH field alignment.
static int DAY_OF_YEAR_FIELD
Useful constant for DAY_OF_YEAR field alignment.
etc...
Avec mes remerciements.
Lenorah