public final class DateTimeAtCompleted extends DateTimeSyntax implements PrintJobAttribute
 要从年,月,日,小时,分钟等的不同值构造DateTimeAtCompleted属性,请使用Calendar对象构造一个Date对象,然后使用Date对象构造DateTimeAtCompleted属性。 要将DateTimeAtCompleted属性转换为年,月,日,小时,分钟等的单独值,请创建一个Calendar对象,并将其设置为DateTimeAtCompleted属性中的Date。 
 IPP兼容性:如上所述,可以获得构建IPP“完成日期时间”属性所需的信息。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| DateTimeAtCompleted(Date dateTime) 
             使用给定的 Date值在完成的属性中构建新的日期时间。 | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回完成属性中的此日期时间是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getValue, hashCode, toStringpublic DateTimeAtCompleted(Date dateTime)
Date值在完成的属性中构建新的日期时间。 
          dateTime - Date的价值。 
           NullPointerException - (未经检查的异常)如果 
            dateTime为空,则抛出。 
           public boolean equals(Object object)
equals在 
            DateTimeSyntax 
           object - 与之比较的对象。 
           object属性的此日期时间,则为True,否则为false。 
           Object.hashCode() , HashMap 
           public final 类<? extends Attribute> getCategory()
对于类DateTimeAtCompleted,类别是DateTimeAtCompleted类。
getCategory在界面 
            Attribute 
           java.lang.Class的实例。 
            Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.