public final class JobHoldUntil extends javax.print.attribute.DateTimeSyntax implements javax.print.attribute.PrintJobAttribute, javax.print.attribute.PrintRequestAttribute
JobHoldUntil attribute specifies the date
and the time at which a print job must become a candidate
for printing.
IPP Compatibility: JobHoldUntil is an IPP 1.1 attribute. However the attribute in IPP is based on keywords of named time periods like day-time or evening. It will depend on the concrete implementation of a print service how a mapping of the detailed provided date and time of this attribute to the named keyword or an alternate extension attribute will be done. E.g. CUPS supports also a HH:MM format as extension to the keywords.
| Constructor and Description |
|---|
JobHoldUntil(java.util.Date value)
Creates a
JobHoldUntil 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 JobHoldUntil(java.util.Date value)
JobHoldUntil object.value - the date to hold the job untiljava.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.AttributeJobHoldUntil itself.public java.lang.String getName()
getName in interface javax.print.attribute.Attribute