public final class DateTimeAtCompleted extends DateTimeSyntax implements PrintJobAttribute
从这一年,不同的价值观构建一个datetimeatcompleted属性的月,日,小时,分钟,等等,用Calendar
对象构造一个Date
对象,然后使用Date
对象构建datetimeatcompleted属性。将一个datetimeatcompleted属性的一年,独立的价值观月,日,小时,分钟,等等,创造一个Calendar
对象并设置它的Date
从datetimeatcompleted属性。
聚丙烯的相容性:信息需要构建一个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, toString
public DateTimeAtCompleted(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()
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.