1 7 package javax.print.attribute.standard; 8 9 import java.util.Date ; 10 import javax.print.attribute.Attribute ; 11 import javax.print.attribute.DateTimeSyntax ; 12 import javax.print.attribute.PrintJobAttribute ; 13 14 36 public final class DateTimeAtProcessing extends DateTimeSyntax 37 implements PrintJobAttribute { 38 39 private static final long serialVersionUID = -3710068197278263244L; 40 41 50 public DateTimeAtProcessing(Date dateTime) { 51 super (dateTime); 52 } 53 54 74 public boolean equals(Object object) { 75 return(super.equals (object) && 76 object instanceof DateTimeAtProcessing ); 77 } 78 79 89 public final Class <? extends Attribute > getCategory() { 90 return DateTimeAtProcessing .class; 91 } 92 93 102 public final String getName() { 103 return "date-time-at-processing"; 104 } 105 106 } 107 | Popular Tags |