javax.print.attribute.standard
public final class DateTimeAtCompleted extends DateTimeSyntax implements 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(Date value)
Creates a
DateTimeAtCompleted object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object.
|
Class<? extends Attribute> |
getCategory()
Returns category of this class.
|
String |
getName()
Returns the name of this attribute.
|
getValue, hashCode, toString
public DateTimeAtCompleted(Date value)
DateTimeAtCompleted
object.value
- the date at completion timeNullPointerException
- if value is nullpublic boolean equals(Object obj)
equals
in class DateTimeSyntax
obj
- the object to testtrue
if both objects are equal,
false
otherwise.Object.hashCode()
public Class<? extends Attribute> getCategory()
getCategory
in interface Attribute
DateTimeAtCompleted
itself.