软件包 | 描述 |
---|---|
java.security |
为安全框架提供类和接口。
|
java.security.cert |
提供用于解析和管理证书的类和接口,证书撤销列表(CRL),认证路径。
|
java.sql |
提供的API来访问和处理的数据存储在数据源(通常是一个关系数据库)使用java编程语言
TM。
|
java.text |
提供用于处理独立于自然语言的方式处理文本、日期、数字和消息的类和接口。
|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
java.util.concurrent.locks |
接口和类提供了一个锁定和等待条件的框架,这种情况与内置的同步和监视器不同。
|
javax.management.openmbean |
提供开放的数据类型和开放MBean描述符类。
|
javax.management.timer |
提供的定时器MBean的定义。
|
javax.print.attribute |
提供类和接口描述java
TM打印服务属性的类型以及如何将它们收集到的属性集。
|
javax.print.attribute.standard |
包装印刷类javax.print.attribute.standard包含特定属性。
|
javax.security.auth.kerberos |
此包包含实用类的Kerberos网络认证协议相关。
|
javax.security.cert |
提供公钥证书的类。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.xml.datatype |
XML / java类型映射。
|
Modifier and Type | Method and Description |
---|---|
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
返回给定别名标识的条目的创建日期。
|
Date |
KeyStore.getCreationDate(String alias)
返回给定别名标识的条目的创建日期。
|
Date |
Timestamp.getTimestamp()
返回日期和时间戳生成。
|
Constructor and Description |
---|
Timestamp(Date timestamp, CertPath signerCertPath)
构建了一个时间戳。
|
Modifier and Type | Method and Description |
---|---|
Date |
X509CertSelector.getCertificateValid()
返回certificatevalid准则。
|
Date |
PKIXParameters.getDate()
返回证书路径的有效性应确定的时间。
|
Date |
X509CRLSelector.getDateAndTime()
返回dateandtime准则。
|
Date |
CertificateRevokedException.getInvalidityDate()
返回无效的日期,在这
CertificateRevokedException 失效日期延长的规定。
|
abstract Date |
X509CRL.getNextUpdate()
从CRL获取
nextUpdate 日期。
|
abstract Date |
X509Certificate.getNotAfter()
从该证书的有效期有
notAfter 日期。
|
abstract Date |
X509Certificate.getNotBefore()
从该证书的有效期有
notBefore 日期。
|
Date |
X509CertSelector.getPrivateKeyValid()
返回privatekeyvalid准则。
|
Date |
CertificateRevokedException.getRevocationDate()
返回证书被吊销的日期。
|
abstract Date |
X509CRLEntry.getRevocationDate()
从这个x509crlentry被撤销的日期,revocationdate。
|
abstract Date |
X509CRL.getThisUpdate()
从CRL获取
thisUpdate 日期。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
X509Certificate.checkValidity(Date date)
检查给定日期是否在证书有效期内。
|
void |
X509CertSelector.setCertificateValid(Date certValid)
集certificatevalid准则。
|
void |
PKIXParameters.setDate(Date date)
设置认证路径的有效性应确定的时间。
|
void |
X509CRLSelector.setDateAndTime(Date dateAndTime)
集dateandtime准则。
|
void |
X509CertSelector.setPrivateKeyValid(Date privateKeyValid)
集privatekeyvalid准则。
|
Constructor and Description |
---|
CertificateRevokedException(Date revocationDate, CRLReason reason, X500Principal authority, Map<String,Extension> extensions)
构建了一个
CertificateRevokedException 与指定的撤销日期、原因代码、机构名称、和扩展。
|
Modifier and Type | Class and Description |
---|---|
class |
Date
在一毫秒的价值,可以确定这是一个JDBC SQL
DATE 值薄包装纸。
|
class |
Time
在
java.util.Date 类允许JDBC API鉴定为SQL
TIME 值薄包装。
|
class |
Timestamp
在
java.util.Date 允许JDBC API鉴定为SQL
TIMESTAMP 值薄包装。
|
Modifier and Type | Method and Description |
---|---|
int |
Timestamp.compareTo(Date o)
比较这
Timestamp 对象到给定的
Date 对象。
|
Modifier and Type | Method and Description |
---|---|
Date |
SimpleDateFormat.get2DigitYearStart()
返回100年两位数的年份开始日期被解释为在。
|
Date |
DateFormat.parse(String source)
解析文本从给定字符串的生产开始日期。
|
abstract Date |
DateFormat.parse(String source, ParsePosition pos)
根据给定的解析位置解析日期/时间字符串。
|
Date |
SimpleDateFormat.parse(String text, ParsePosition pos)
解析文本字符串以产生
Date 。
|
Modifier and Type | Method and Description |
---|---|
String |
DateFormat.format(Date date)
将日期格式化为日期/时间字符串。
|
abstract StringBuffer |
DateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
将日期格式化为日期/时间字符串。
|
StringBuffer |
SimpleDateFormat.format(Date date, StringBuffer toAppendTo, FieldPosition pos)
给定的
Date 进入日期/时间线和附加的结果给出的
StringBuffer 格式。
|
void |
SimpleDateFormat.set2DigitYearStart(Date startDate)
集100年两位数的年份将被解释作为开始日期用户指定。
|
Modifier and Type | Method and Description |
---|---|
static Date |
Date.from(Instant instant)
获得
Date 实例从一个
Instant 对象。
|
Date |
GregorianCalendar.getGregorianChange()
获取公历日期更改。
|
Date |
Calendar.getTime()
|
Modifier and Type | Method and Description |
---|---|
boolean |
Date.after(Date when)
测试如果这个日期是在指定日期之后。
|
boolean |
Date.before(Date when)
测试如果这个日期是在指定日期之前。
|
int |
Date.compareTo(Date anotherDate)
比较两个订购日期。
|
boolean |
SimpleTimeZone.inDaylightTime(Date date)
如果指定日期在日光节约时间。
|
abstract boolean |
TimeZone.inDaylightTime(Date date)
如果给定的
date 查询在这个时区夏令时。
|
void |
Timer.schedule(TimerTask task, Date time)
在指定的时间计划执行指定的任务。
|
void |
Timer.schedule(TimerTask task, Date firstTime, long period)
计划重复固定延迟执行指定的任务,开始在指定的时间。
|
void |
Timer.scheduleAtFixedRate(TimerTask task, Date firstTime, long period)
计划重复固定利率执行指定的任务,开始在指定的时间。
|
void |
GregorianCalendar.setGregorianChange(Date date)
集
GregorianCalendar 更改日期。
|
Calendar.Builder |
Calendar.Builder.setInstant(Date instant)
设置的
Date 给予
instant 即时参数值。
|
void |
Calendar.setTime(Date date)
设置日历的时间与给定的
Date 。
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractQueuedSynchronizer.ConditionObject.awaitUntil(Date deadline)
实现绝对定时条件等待。
|
boolean |
AbstractQueuedLongSynchronizer.ConditionObject.awaitUntil(Date deadline)
实现绝对定时条件等待。
|
boolean |
Condition.awaitUntil(Date deadline)
使当前线程等待信号或中断,或指定的期限结束。
|
Modifier and Type | Field and Description |
---|---|
static SimpleType<Date> |
SimpleType.DATE
描述值的java类名的
SimpleType 实例
java.util.Date 。
|
Modifier and Type | Method and Description |
---|---|
Date |
TimerMBean.getDate(Integer id)
获取与计时器通知相关联的日期的副本。
|
Date |
Timer.getDate(Integer id)
获取与计时器通知相关联的日期的副本。
|
Modifier and Type | Method and Description |
---|---|
Integer |
TimerMBean.addNotification(String type, String message, Object userData, Date date)
创建一个新的具有指定
type 定时器通知,
message 和
userData 插入到一个给定的日期和一个空的时间和次数的通知列表。
|
Integer |
Timer.addNotification(String type, String message, Object userData, Date date)
创建一个新的具有指定
type 定时器通知,
message 和
userData 插入到一个给定的日期和一个空的时间和次数的通知列表。
|
Integer |
TimerMBean.addNotification(String type, String message, Object userData, Date date, long period)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期和时间和空的次数。
|
Integer |
Timer.addNotification(String type, String message, Object userData, Date date, long period)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期和时间和空的次数。
|
Integer |
TimerMBean.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期,时间和次数。
|
Integer |
Timer.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期,时间和次数。
|
Integer |
TimerMBean.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期,时间和次数。
|
Integer |
Timer.addNotification(String type, String message, Object userData, Date date, long period, long nbOccurences, boolean fixedRate)
创建一个新的具有指定
type 定时器通知,
message 和
userData 并把它插入到列表通知与一个给定的日期,时间和次数。
|
Modifier and Type | Method and Description |
---|---|
Date |
DateTimeSyntax.getValue()
返回日期时间属性的
java.util.Date 价值。
|
Constructor and Description |
---|
DateTimeSyntax(Date value)
构建了
java.util.Date 值的一种新的日期时间属性。
|
Constructor and Description |
---|
DateTimeAtCompleted(Date dateTime)
在给定的
Date 值完成属性构造一个新的日期时间。
|
DateTimeAtCreation(Date dateTime)
在创建属性与给定的
Date 值构造一个新的日期时间。
|
DateTimeAtProcessing(Date dateTime)
在给定的
Date 值处理属性构造一个新的日期时间。
|
JobHoldUntil(Date dateTime)
构建一个新的工作,直到与给定的
Date 日期时间属性值。
|
Modifier and Type | Method and Description |
---|---|
Date |
KerberosTicket.getAuthTime()
返回客户端被验证的时间。
|
Date |
KerberosTicket.getEndTime()
返回该票有效期的到期时间。
|
Date |
KerberosTicket.getRenewTill()
返回最新的这张票到期时间,包括所有的更新。
|
Date |
KerberosTicket.getStartTime()
返回该票有效期的开始时间。
|
Constructor and Description |
---|
KerberosTicket(byte[] asn1Encoding, KerberosPrincipal client, KerberosPrincipal server, byte[] sessionKey, int keyType, boolean[] flags, Date authTime, Date startTime, Date endTime, Date renewTill, InetAddress[] clientAddresses)
构建了一个kerberosticket使用凭据的信息,客户端可以接收从KDC或从缓存中读取。
|
Modifier and Type | Method and Description |
---|---|
abstract Date |
X509Certificate.getNotAfter()
从该证书的有效期有
notAfter 日期。
|
abstract Date |
X509Certificate.getNotBefore()
从该证书的有效期有
notBefore 日期。
|
Modifier and Type | Method and Description |
---|---|
abstract void |
X509Certificate.checkValidity(Date date)
检查指定日期是否在证书有效期内。
|
Modifier and Type | Method and Description |
---|---|
Date |
SpinnerDateModel.getDate()
在这一系列
Date s返回当前元素。
|
Modifier and Type | Method and Description |
---|---|
static <M,I> RowFilter<M,I> |
RowFilter.dateFilter(RowFilter.ComparisonType type, Date date, int... indices)
返回一个
RowFilter 包括至少有一个
Date 值满足指定标准的条目。
|
Constructor and Description |
---|
SpinnerDateModel(Date value, Comparable start, Comparable end, int calendarField)
创建一个
SpinnerDateModel 表示序列的
start 和
end 之间的日期。
|
Modifier and Type | Method and Description |
---|---|
void |
Duration.addTo(Date date)
这一
Date 对象添加时间。
|
long |
Duration.getTimeInMillis(Date startInstant)
返回以毫秒为单位的时间长度。
|
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.