ankitp      2005/03/02 13:16:00

  Modified:    java/src/org/apache/xerces/xs/datatypes XSDateTime.java
                        XSDecimal.java
  Log:
  minor fixes
  
  Revision  Changes    Path
  1.8       +6 -5      
xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDateTime.java
  
  Index: XSDateTime.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDateTime.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XSDateTime.java   22 Feb 2005 19:32:30 -0000      1.7
  +++ XSDateTime.java   2 Mar 2005 21:16:00 -0000       1.8
  @@ -28,13 +28,13 @@
   public interface XSDateTime {
        
       /**
  -     * @return years – can be negative for datetime;
  +     * @return years – can be negative for date-time related types;
        *          returns 0 for duration types
        */
       public int getYears();
       
       /**
  -     * @return months – can be negative only for durations;
  +     * @return months – can be negative only for duration types;
        *                  For duration types, it returns years*12 + months
        */
       public int getMonths();
  @@ -65,7 +65,8 @@
       public double getSeconds();
       
       /**
  -     * @return boolean (true when timezone exists)
  +     * @return boolean (true when timezone is specified in the original 
lexical value)
  +     *                  (not valid for duration types)
        */
       public boolean hasTimeZone();
       
  @@ -87,14 +88,14 @@
       public String getLexicalValue();
       
       /**
  -     * @return a new datetime object with normalized values
  +     * @return a new date-time related object with normalized values
        *         (has no effect on durations or objects already
        *          normalized)
        */
       public XSDateTime normalize();
       
       /**
  -     * @return whether a datetime object is normalized or not
  +     * @return whether a date-time related object is normalized or not
        *         (value is not useful for durations)
        */
       public boolean isNormalized();
  
  
  
  1.2       +7 -7      
xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDecimal.java
  
  Index: XSDecimal.java
  ===================================================================
  RCS file: 
/home/cvs/xml-xerces/java/src/org/apache/xerces/xs/datatypes/XSDecimal.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XSDecimal.java    5 Jan 2005 04:57:45 -0000       1.1
  +++ XSDecimal.java    2 Mar 2005 21:16:00 -0000       1.2
  @@ -22,7 +22,7 @@
    * <p><b>EXPERIMENTAL: This interface should not be considered stable.
    * It is likely it may be altered or replaced in the future.</b></p>
    * 
  - * <p>Interface to expose the value of 'decimal' and related datatypes.</p>
  + * <p>Interface to expose the value of '' and related datatypes.</p>
    * 
    * @author Naela Nissar, IBM
    * 
  @@ -37,31 +37,31 @@
       
       /**
        * @return the <code>BigInteger</code> representation of this object 
  -     * @exception NumberFormatException if the decimal value cannot be 
represented as a <code>BigInteger</code> 
  +     * @exception NumberFormatException if the value cannot be represented 
as a <code>BigInteger</code> 
        */
       public BigInteger getBigInteger() throws NumberFormatException;
       
       /**
        * @return the long value representation of this object
  -     * @exception NumberFormatException if the decimal value cannot be 
represented as a <code>long</code>
  +     * @exception NumberFormatException if the value cannot be represented 
as a <code>long</code>
        */
       public long getLong() throws NumberFormatException;
       
       /**
        * @return the int value representation of this object
  -     * @exception NumberFormatException if the decimal value cannot be 
represented as a int
  +     * @exception NumberFormatException if the value cannot be represented 
as a int
        */
       public int getInt() throws NumberFormatException;
       
       /**
        * @return the short value representation of this object
  -     * @exception NumberFormatException if the decimal value cannot be 
represented as a short
  +     * @exception NumberFormatException if the value cannot be represented 
as a short
        */
       public short getShort() throws NumberFormatException;
       
       /**
        * @return the byte value representation of this object
  -     * @exception NumberFormatException if the decimal value cannot be 
represented as a byte
  +     * @exception NumberFormatException if the value cannot be represented 
as a byte
        */
       public byte getByte() throws NumberFormatException;
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to