Serializable, Cloneable
DateTimeAtCompleted, DateTimeAtCreation, DateTimeAtProcessing, JobHoldUntil
public abstract class DateTimeSyntax extends Object implements Serializable, Cloneable
DateTimeSyntax is an abstract base class providing the common implementation of all attributes whose value is a date and time.  Under the hood, a date-time attribute is stored as a value of class java.util.Date. You can get a date-time attribute's Date value by calling getValue(). A date-time attribute's Date value is established when it is constructed (see DateTimeSyntax(Date)). Once constructed, a date-time attribute's value is immutable. 
 To construct a date-time attribute from separate values of the year, month, day, hour, minute, and so on, use a java.util.Calendar object to construct a java.util.Date object, then use the java.util.Date object to construct the date-time attribute. To convert a date-time attribute to separate values of the year, month, day, hour, minute, and so on, create a java.util.Calendar object and set it to the java.util.Date from the date-time attribute. Class DateTimeSyntax stores its value in the form of a java.util.Date rather than a java.util.Calendar because it typically takes less memory to store and less time to compare a java.util.Date than a java.util.Calendar.
| Modifier | Constructor | Description | 
|---|---|---|
| protected  | Construct a new date-time attribute with the given  java.util.Datevalue. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | equals | Returns whether this date-time attribute is equivalent to the passed in object. | 
| Date | getValue() | Returns this date-time attribute's  java.util.Datevalue. | 
| int | hashCode() | Returns a hash code value for this date-time attribute. | 
| String | toString() | Returns a string value corresponding to this date-time attribute. | 
protected DateTimeSyntax(Date value)
java.util.Date value.value - java.util.Date valueNullPointerException - if value is null
public Date getValue()
java.util.Date value.Date
public boolean equals(Object object)
object is not null. object is an instance of class DateTimeSyntax. java.util.Date value and object's java.util.Date value are equal. public int hashCode()
java.util.Date value.public String toString()
java.util.Date value converted to a string.
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/print/attribute/DateTimeSyntax.html