javax.print.attribute.standard
public final class JobHoldUntil extends DateTimeSyntax implements PrintJobAttribute, 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(Date value)
Creates a
JobHoldUntil 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 JobHoldUntil(Date value)
JobHoldUntil
object.value
- the date to hold the job untilNullPointerException
- 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
JobHoldUntil
itself.