public final class DateTimeAtCompleted extends javax.print.attribute.DateTimeSyntax implements javax.print.attribute.PrintJobAttribute
DateTimeAtCompleted attribute specifies the date and
the time at which a print job completed (or was canceled or aborted).
IPP Compatibility: DateTimeAtCompleted is an IPP 1.1 attribute.
| Constructor and Description |
|---|
DateTimeAtCompleted(java.util.Date value)
Creates a
DateTimeAtCompleted object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests if the given object is equal to this object.
|
java.lang.Class<? extends javax.print.attribute.Attribute> |
getCategory()
Returns category of this class.
|
java.lang.String |
getName()
Returns the name of this attribute.
|
public DateTimeAtCompleted(java.util.Date value)
DateTimeAtCompleted object.value - the date at completion timejava.lang.NullPointerException - if value is nullpublic boolean equals(java.lang.Object obj)
equals in class javax.print.attribute.DateTimeSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public java.lang.Class<? extends javax.print.attribute.Attribute> getCategory()
getCategory in interface javax.print.attribute.AttributeDateTimeAtCompleted itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute