javax.print.attribute.standard

Class DateTimeAtCreation

public final class DateTimeAtCreation extends DateTimeSyntax implements PrintJobAttribute

The DateTimeAtCreation attribute specifies the date and the time at which a print job was created.

IPP Compatibility: DateTimeAtCreation is an IPP 1.1 attribute.

See Also: DateTimeAtCompleted

Constructor Summary
DateTimeAtCreation(Date value)
Creates a DateTimeAtCreation 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

DateTimeAtCreation

public DateTimeAtCreation(Date value)
Creates a DateTimeAtCreation object.

Parameters: value the date at creation 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 DateTimeAtCreation itself.

getName

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

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