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 DateTimeAtCompleted extends DateTimeSyntax 37 implements PrintJobAttribute { 38 39 private static final long serialVersionUID = 6497399708058490000L; 40 41 50 public DateTimeAtCompleted(Date dateTime) { 51 super (dateTime); 52 } 53 54 73 public boolean equals(Object object) { 74 return(super.equals (object) && 75 object instanceof DateTimeAtCompleted ); 76 } 77 78 80 90 public final Class <? extends Attribute > getCategory() { 91 return DateTimeAtCompleted .class; 92 } 93 94 103 public final String getName() { 104 return "date-time-at-completed"; 105 } 106 107 } 108 | Popular Tags |