public final class DateTimeAtCreation extends DateTimeSyntax implements PrintJobAttribute
 要从年,月,日,小时,分钟等的不同值构造DateTimeAtCreation属性,请使用Calendar对象构造一个Date对象,然后使用Date对象构造DateTimeAtCreation属性。 要将DateTimeAtCreation属性转换为年,月,日,小时,分钟等的单独值,请创建一个Calendar对象,并将其设置为DateTimeAtCreation属性中的Date。 
 IPP兼容性:如上所述,可以获得构建IPP“创建日期时间”属性所需的信息。 getName()返回的类别名称提供IPP属性名称。 
| Constructor and Description | 
|---|
| DateTimeAtCreation(Date dateTime) 
             使用给定的 Date值创建一个创建时间的新日期时间。 | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object)
              返回创建时的此date-time属性是否等同于传入的对象。 
             | 
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
getValue, hashCode, toStringpublic DateTimeAtCreation(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()
对于类DateTimeAtCreation,类别是DateTimeAtCreation类本身。
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.