javax.print.attribute.standard
Class DateTimeAtProcessing

java.lang.Object
  extended by javax.print.attribute.DateTimeSyntax
      extended by javax.print.attribute.standard.DateTimeAtProcessing
All Implemented Interfaces:
Serializable, Cloneable, Attribute, PrintJobAttribute

public final class DateTimeAtProcessing
extends DateTimeSyntax
implements PrintJobAttribute

The DateTimeAtProcessing attribute specifies the date and the time at which a print job started processing.

IPP Compatibility: DateTimeAtProcessing is an IPP 1.1 attribute.

See Also:
DateTimeAtCompleted, DateTimeAtCreation, Serialized Form

Constructor Summary
DateTimeAtProcessing(Date value)
          Creates a DateTimeAtProcessing object.
 
Method Summary
 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.
 
Methods inherited from class javax.print.attribute.DateTimeSyntax
getValue, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateTimeAtProcessing

public DateTimeAtProcessing(Date value)
Creates a DateTimeAtProcessing object.

Parameters:
value - the date at processing time
Throws:
NullPointerException - if value is null
Method Detail

equals

public boolean equals(Object obj)
Tests if the given object is equal to this object.

Overrides:
equals in class DateTimeSyntax
Parameters:
obj - the object to test
Returns:
true if both objects are equal, false otherwise.
See Also:
Object.hashCode()

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Specified by:
getCategory in interface Attribute
Returns:
The class DateTimeAtProcessing itself.

getName

public String getName()
Returns the name of this attribute.

Specified by:
getName in interface Attribute
Returns:
The name "date-time-at-processing".