public final class DateTimeAtCreation extends DateTimeSyntax implements PrintJobAttribute
从这一年,不同的价值观构建一个datetimeatcreation属性的月,日,小时,分钟,等等,用Calendar对象构造一个Date对象,然后使用Date对象构建datetimeatcreation属性。将一个datetimeatcreation属性的一年,独立的价值观月,日,小时,分钟,等等,创造一个Calendar对象并设置它的属性Date datetimeatcreation。
聚丙烯的相容性:信息需要构建一个IPP“日期时间在创作”属性可以得到上述。返回getName()类别名称为IPP的属性名称。
| Constructor and Description |
|---|
DateTimeAtCreation(Date dateTime)
在创建属性与给定的
Date值构造一个新的日期时间。
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
返回创建属性的日期时间是否等效于对象的传递时间。
|
类<? extends Attribute> |
getCategory()
获取要用作该打印属性值的“类别”的打印属性类。
|
String |
getName()
获取此属性值的类别的名称,即一个实例。
|
getValue, hashCode, toStringpublic DateTimeAtCreation(Date dateTime)
Date值构造一个新的日期时间。
dateTime -
Date价值。
NullPointerException -(unchecked异常)如果
dateTime空抛。
public boolean equals(Object object)
equals 方法重写,继承类
DateTimeSyntax
object对象比较。
object相当于该日期时间在创建属性真,否则为假。
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.