API java : DatatypeConstants


javax.xml.datatype
Class DatatypeConstants

java.lang.Object
  extended by javax.xml.datatype.DatatypeConstants

public final class DatatypeConstants
extends Object

Utility class to contain basic Datatype values as constants.

Since:
1.5

Nested Class Summary
static class DatatypeConstants.Field
          Type-safe enum class that represents six fields of the Duration class.
 
Field Summary
static int APRIL
          Value for fourth month of year.
static int AUGUST
          Value for eighth month of year.
static QName DATE
          Fully qualified name for W3C XML Schema 1.0 datatype date.
static QName DATETIME
          Fully qualified name for W3C XML Schema 1.0 datatype dateTime.
static DatatypeConstants.Field DAYS
          A constant that represents the days field.
static int DECEMBER
          Value for twelve month of year.
static QName DURATION
          Fully qualified name for W3C XML Schema datatype duration.
static QName DURATION_DAYTIME
          Fully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration.
static QName DURATION_YEARMONTH
          Fully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration.
static int EQUAL
          Comparison result.
static int FEBRUARY
          Value for second month of year.
static int FIELD_UNDEFINED
          Designation that an "int" field is not set.
static QName GDAY
          Fully qualified name for W3C XML Schema 1.0 datatype gDay.
static QName GMONTH
          Fully qualified name for W3C XML Schema 1.0 datatype gMonth.
static QName GMONTHDAY
          Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.
static int GREATER
          Comparison result.
static QName GYEAR
          Fully qualified name for W3C XML Schema 1.0 datatype gYear.
static QName GYEARMONTH
          Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.
static DatatypeConstants.Field HOURS
          A constant that represents the hours field.
static int INDETERMINATE
          Comparison result.
static int JANUARY
          Value for first month of year.
static int JULY
          Value for seventh month of year.
static int JUNE
          Value for sixth month of year.
static int LESSER
          Comparison result.
static int MARCH
          Value for third month of year.
static int MAX_TIMEZONE_OFFSET
          W3C XML Schema max timezone offset is -14:00.
static int MAY
          Value for fifth month of year.
static int MIN_TIMEZONE_OFFSET
          W3C XML Schema min timezone offset is +14:00.
static DatatypeConstants.Field MINUTES
          A constant that represents the minutes field.
static DatatypeConstants.Field MONTHS
          A constant that represents the months field.
static int NOVEMBER
          Value for eleven month of year.
static int OCTOBER
          Value for tenth month of year.
static DatatypeConstants.Field SECONDS
          A constant that represents the seconds field.
static int SEPTEMBER
          Value for ninth month of year.
static QName TIME
          Fully qualified name for W3C XML Schema 1.0 datatype time.
static DatatypeConstants.Field YEARS
          A constant that represents the years field.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JANUARY

public static final int JANUARY
Value for first month of year.

See Also:
Constant Field Values

FEBRUARY

public static final int FEBRUARY
Value for second month of year.

See Also:
Constant Field Values

MARCH

public static final int MARCH
Value for third month of year.

See Also:
Constant Field Values

APRIL

public static final int APRIL
Value for fourth month of year.

See Also:
Constant Field Values

MAY

public static final int MAY
Value for fifth month of year.

See Also:
Constant Field Values

JUNE

public static final int JUNE
Value for sixth month of year.

See Also:
Constant Field Values

JULY

public static final int JULY
Value for seventh month of year.

See Also:
Constant Field Values

AUGUST

public static final int AUGUST
Value for eighth month of year.

See Also:
Constant Field Values

SEPTEMBER

public static final int SEPTEMBER
Value for ninth month of year.

See Also:
Constant Field Values

OCTOBER

public static final int OCTOBER
Value for tenth month of year.

See Also:
Constant Field Values

NOVEMBER

public static final int NOVEMBER
Value for eleven month of year.

See Also:
Constant Field Values

DECEMBER

public static final int DECEMBER
Value for twelve month of year.

See Also:
Constant Field Values

LESSER

public static final int LESSER

Comparison result.

See Also:
Constant Field Values

EQUAL

public static final int EQUAL

Comparison result.

See Also:
Constant Field Values

GREATER

public static final int GREATER

Comparison result.

See Also:
Constant Field Values

INDETERMINATE

public static final int INDETERMINATE

Comparison result.

See Also:
Constant Field Values

FIELD_UNDEFINED

public static final int FIELD_UNDEFINED
Designation that an "int" field is not set.

See Also:
Constant Field Values

YEARS

public static final DatatypeConstants.Field YEARS

A constant that represents the years field.


MONTHS

public static final DatatypeConstants.Field MONTHS

A constant that represents the months field.


DAYS

public static final DatatypeConstants.Field DAYS

A constant that represents the days field.


HOURS

public static final DatatypeConstants.Field HOURS

A constant that represents the hours field.


MINUTES

public static final DatatypeConstants.Field MINUTES

A constant that represents the minutes field.


SECONDS

public static final DatatypeConstants.Field SECONDS

A constant that represents the seconds field.


DATETIME

public static final QName DATETIME

Fully qualified name for W3C XML Schema 1.0 datatype dateTime.


TIME

public static final QName TIME

Fully qualified name for W3C XML Schema 1.0 datatype time.


DATE

public static final QName DATE

Fully qualified name for W3C XML Schema 1.0 datatype date.


GYEARMONTH

public static final QName GYEARMONTH

Fully qualified name for W3C XML Schema 1.0 datatype gYearMonth.


GMONTHDAY

public static final QName GMONTHDAY

Fully qualified name for W3C XML Schema 1.0 datatype gMonthDay.


GYEAR

public static final QName GYEAR

Fully qualified name for W3C XML Schema 1.0 datatype gYear.


GMONTH

public static final QName GMONTH

Fully qualified name for W3C XML Schema 1.0 datatype gMonth.


GDAY

public static final QName GDAY

Fully qualified name for W3C XML Schema 1.0 datatype gDay.


DURATION

public static final QName DURATION

Fully qualified name for W3C XML Schema datatype duration.


DURATION_DAYTIME

public static final QName DURATION_DAYTIME

Fully qualified name for XQuery 1.0 and XPath 2.0 datatype dayTimeDuration.


DURATION_YEARMONTH

public static final QName DURATION_YEARMONTH

Fully qualified name for XQuery 1.0 and XPath 2.0 datatype yearMonthDuration.


MAX_TIMEZONE_OFFSET

public static final int MAX_TIMEZONE_OFFSET
W3C XML Schema max timezone offset is -14:00. Zone offset is in minutes.

See Also:
Constant Field Values

MIN_TIMEZONE_OFFSET

public static final int MIN_TIMEZONE_OFFSET
W3C XML Schema min timezone offset is +14:00. Zone offset is in minutes.

See Also:
Constant Field Values

Ces informations proviennent du site de http://java.sun.com

Remarques

Contenu

Le contenu de cette page provient du site de Sun, et est généré depuis un cache sur l'infobrol après certains traitements automatisés. La présentation peut donc différer du document original, mais le contenu aussi. Vous pouvez utiliser ce bouton pour afficher la page originale du site de Sun :

Quels sont les motivations de cette démarche?

Maintenir les pages en cache sur différents sites peut offrir plus de disponibilité.

Chaque page est indexée dans la base de donnée, ce qui permet de retrouver facilement les informations, au moyen des sommaires, du moteur de recherche interne, etc.

Des facilités sont mises en place pour que les membres de l'infobrol puissent effectuer des traductions en français des différents documents. Ceci devrait permettre aux débutants en programmation Java de consulter les API en français s'ils maîtrisent moins bien la langue de Shakespeare. Dans le cas où une traduction a été soumise, elle est disponible au moyen d'un lien en bas de page. Si la traduction a été validée, la page s'affiche par défaut en français, et un lien en bas de page permet d'atteindre la version en anglais.

Le code sur l'infobrol est automatiquement coloré selon la syntaxe, et les différents mots clés sont transformés en liens pour accéder rapidement aux informations.

Vous avez la possibilité de partager vos expériences en proposant vos propres extraits de code en utilisant le bouton "ajouter un commentaire" en bas de page. Si vous visitez simplement l'infobrol, vous avez déjà accès à cette fonction, mais si vous étes membre du brol, vous pouvez en plus utiliser des boutons supplémentaires de mise en forme, dont la coloration automatique de vos extraits de codes.

Réseaux sociaux

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher les interactions avec les réseaux sociaux sur ces pages.

 

Nuage de mots clés

7 mots clés dont 0 définis manuellement (plus d'information...).

Avertissement

Cette page ne possède pas encore de mots clés manuels, ceci est donc un exemple automatique (les niveaux de pertinence sont fictifs, mais les liens sont valables). Pour tester le nuage avec une page qui contient des mots définis manuellement, vous pouvez cliquer ici.

Vous pouvez modifier vos préférences dans votre profil pour ne plus afficher le nuage de mots clés.

 

Astuce pour imprimer les couleurs des cellules de tableaux : http://www.gaudry.be/ast-rf-450.html
Aucun commentaire pour cette page

© Ce document issu de l′infobrol est enregistré sous le certificat Cyber PrInterDeposit Digital Numbertection. Enregistrement IDDN n° 5329-2605
Document créé le 31/08/06 00:38, dernière modification le Vendredi 17 Juin 2011, 12:12
Source du document imprimé : http://www.gaudry.be/java-api-rf-javax/xml/datatype/DatatypeConstants.html Document affiché 1 fois ce mois de Juin.
St.Gaudry©07.01.02
 
l'infobrol
Nous sommes le Samedi 02 Juin 2012, 09:30, toutes les heures sont au format GMT+1.00 Heure, heure d'été (+1)