javax.print.attribute
public abstract class DateTimeSyntax extends Object implements Cloneable, Serializable
DateTimeSyntax is the abstract base class of all attribute 
 classes having a date and a time as value.
   | Constructor Summary | |
|---|---|
| protected | DateTimeSyntax(Date value) 
 Creates a  DateTimeSyntax with a given value.
 | 
| Method Summary | |
|---|---|
| boolean | equals(Object obj) 
 Tests if the given object is equal to this one.
  | 
| Date | getValue() 
 Returns the date value of this object.
  | 
| int | hashCode() 
 Returns the hashcode for this object.
  | 
| String | toString() 
 Returns the string representation for this object.
  | 
DateTimeSyntax with a given value.
Parameters: value the date for this syntax
Throws: NullPointerException if value is null
Parameters: obj the object to test
Returns: true if both objects are equal, 
 false otherwise. 
Returns: The date value.
Returns: The hashcode.
Returns: The string representation.