javax.print.attribute.standard

Class DateTimeAtCompleted

public final class DateTimeAtCompleted extends DateTimeSyntax implements PrintJobAttribute

The DateTimeAtCompleted attribute specifies the date and the time at which a print job completed (or was canceled or aborted).

IPP Compatibility: DateTimeAtCompleted is an IPP 1.1 attribute.

See Also: DateTimeAtCreation

Constructor Summary
DateTimeAtCompleted(Date value)
Creates a DateTimeAtCompleted object.
Method Summary
booleanequals(Object obj)
Tests if the given object is equal to this object.
Class<? extends Attribute>getCategory()
Returns category of this class.
StringgetName()
Returns the name of this attribute.

Constructor Detail

DateTimeAtCompleted

public DateTimeAtCompleted(Date value)
Creates a DateTimeAtCompleted object.

Parameters: value the date at completion 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.

Parameters: obj the object to test

Returns: true if both objects are equal, false otherwise.

getCategory

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

Returns: The class DateTimeAtCompleted itself.

getName

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

Returns: The name "date-time-at-completed".