public final class DateTimeAtCreation extends DateTimeSyntax implements PrintJobAttribute
DateTimeAtCreation
attribute specifies the
date and the time at which a print job was created.
IPP Compatibility: DateTimeAtCreation is an IPP 1.1 attribute.
Constructor and Description |
---|
DateTimeAtCreation(Date value)
Creates a
DateTimeAtCreation 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 DateTimeAtCreation(Date value)
DateTimeAtCreation
object.value
- the date at creation 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
DateTimeAtCreation
itself.