< prev index next >

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

Print this page

        

*** 43,53 **** * java.util.Calendar Calendar} object and set it to the {@link java.util.Date * Date} from the DateTimeAtProcessing attribute. * <P> * <B>IPP Compatibility:</B> The information needed to construct an IPP * "date-time-at-processing" attribute can be obtained as described above. The ! * category name returned by <CODE>getName()</CODE> gives the IPP attribute * name. * * @author Alan Kaminsky */ public final class DateTimeAtProcessing extends DateTimeSyntax --- 43,53 ---- * java.util.Calendar Calendar} object and set it to the {@link java.util.Date * Date} from the DateTimeAtProcessing attribute. * <P> * <B>IPP Compatibility:</B> The information needed to construct an IPP * "date-time-at-processing" attribute can be obtained as described above. The ! * category name returned by {@code getName()} gives the IPP attribute * name. * * @author Alan Kaminsky */ public final class DateTimeAtProcessing extends DateTimeSyntax
*** 60,70 **** * java.util.Date Date} value. * * @param dateTime {@link java.util.Date Date} value. * * @exception NullPointerException ! * (unchecked exception) Thrown if <CODE>dateTime</CODE> is null. */ public DateTimeAtProcessing(Date dateTime) { super (dateTime); } --- 60,70 ---- * java.util.Date Date} value. * * @param dateTime {@link java.util.Date Date} value. * * @exception NullPointerException ! * (unchecked exception) Thrown if {@code dateTime} is null. */ public DateTimeAtProcessing(Date dateTime) { super (dateTime); }
*** 72,93 **** * Returns whether this date-time at processing 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. * <LI> ! * <CODE>object</CODE> is an instance of class DateTimeAtProcessing. * <LI> * This date-time at processing attribute's {@link java.util.Date Date} ! * value and <CODE>object</CODE>'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 * at processing attribute, false otherwise. */ public boolean equals(Object object) { return(super.equals (object) && object instanceof DateTimeAtProcessing); --- 72,93 ---- * Returns whether this date-time at processing 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} is not null. * <LI> ! * {@code object} is an instance of class DateTimeAtProcessing. * <LI> * This date-time at processing attribute's {@link java.util.Date Date} ! * value and {@code object}'s {@link java.util.Date Date} value * are equal. * </OL> * * @param object Object to compare to. * ! * @return True if {@code object} is equivalent to this date-time * at processing attribute, false otherwise. */ public boolean equals(Object object) { return(super.equals (object) && object instanceof DateTimeAtProcessing);
*** 110,120 **** /** * Get the name of the category of which this attribute value is an * instance. * <P> * For class DateTimeAtProcessing, the category name is ! * <CODE>"date-time-at-processing"</CODE>. * * @return Attribute category name. */ public final String getName() { return "date-time-at-processing"; --- 110,120 ---- /** * Get the name of the category of which this attribute value is an * instance. * <P> * For class DateTimeAtProcessing, the category name is ! * {@code "date-time-at-processing"}. * * @return Attribute category name. */ public final String getName() { return "date-time-at-processing";
< prev index next >