public final class DateTimeAtCreation extends javax.print.attribute.DateTimeSyntax implements javax.print.attribute.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(java.util.Date value)
Creates a
DateTimeAtCreation 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 DateTimeAtCreation(java.util.Date value)
DateTimeAtCreation object.value - the date at creation 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.AttributeDateTimeAtCreation itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute