< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/DateTimeAtCompleted.java

Print this page

        

@@ -43,11 +43,11 @@
  * java.util.Calendar Calendar} object and set it to the {@link java.util.Date
  * Date} from the DateTimeAtCompleted attribute.
  * <P>
  * <B>IPP Compatibility:</B> The information needed to construct an IPP
  * "date-time-at-completed" attribute can be obtained as described above. The
- * category name returned by <CODE>getName()</CODE> gives the IPP attribute
+ * category name returned by {@code getName()} gives the IPP attribute
  * name.
  *
  * @author  Alan Kaminsky
  */
 public final class DateTimeAtCompleted extends DateTimeSyntax

@@ -60,11 +60,11 @@
      * java.util.Date Date} value.
      *
      * @param  dateTime  {@link java.util.Date Date} value.
      *
      * @exception  NullPointerException
-     *     (unchecked exception) Thrown if <CODE>dateTime</CODE> is null.
+     *     (unchecked exception) Thrown if {@code dateTime} is null.
      */
     public DateTimeAtCompleted(Date dateTime) {
         super (dateTime);
     }
 

@@ -72,21 +72,21 @@
      * Returns whether this date-time at completed attribute is equivalent to
      * the passed in object. To be equivalent, all of the following conditions
      * must be true:
      * <OL TYPE=1>
      * <LI>
-     * <CODE>object</CODE> is not null.
+     * {@code object} is not null.
      * <LI>
-     * <CODE>object</CODE> is an instance of class DateTimeAtCompleted.
+     * {@code object} is an instance of class DateTimeAtCompleted.
      * <LI>
      * This date-time at completed attribute's {@link java.util.Date Date} value
-     * and <CODE>object</CODE>'s {@link java.util.Date Date} value are equal.
+     * and {@code object}'s {@link java.util.Date Date} value are equal.
      * </OL>
      *
      * @param  object  Object to compare to.
      *
-     * @return  True if <CODE>object</CODE> is equivalent to this date-time
+     * @return  True if {@code object} is equivalent to this date-time
      *          at completed attribute, false otherwise.
      */
     public boolean equals(Object object) {
         return(super.equals (object) &&
                object instanceof DateTimeAtCompleted);

@@ -111,11 +111,11 @@
     /**
      * Get the name of the category of which this attribute value is an
      * instance.
      * <P>
      * For class DateTimeAtCompleted, the category name is
-     * <CODE>"date-time-at-completed"</CODE>.
+     * {@code "date-time-at-completed"}.
      *
      * @return  Attribute category name.
      */
     public final String getName() {
         return "date-time-at-completed";
< prev index next >