Interface | Description |
---|---|
DateBasic |
日期基本信息获取接口
|
DatePattern.NumberRule |
Inner class defining a numeric rule.
|
DatePattern.Rule |
规则
|
DatePrinter |
日期格式化输出接口
Thanks to Apache Commons Lang 3.5 |
Class | Description |
---|---|
DateFormatManager |
自定义格式化管理器,用于自定义日期格式化和解析逻辑
一般通过 DateFormatManager.getInstance() 使用全局单例对象。 |
DatePattern |
日期格式表达式,用于解析和格式化日期时间。
|
DefaultDateBasic |
默认日期基本信息类,包括:
DefaultDateBasic.getPattern() 返回null
DefaultDateBasic.getTimeZone() ()}返回TimeZone.getDefault()
DefaultDateBasic.getLocale() ()} ()}返回Locale.getDefault()
|
FastDateFormat |
FastDateFormat 是一个线程安全的
SimpleDateFormat 实现:
日期字符串解析
日期格式化
通过以下静态方法获得此对象: FastDateFormat.getInstance(String, TimeZone, Locale) FastDateFormat.getDateInstance(int, TimeZone, Locale) FastDateFormat.getTimeInstance(int, TimeZone, Locale) FastDateFormat.getDateTimeInstance(int, int, TimeZone, Locale)
Thanks to Apache Commons Lang 3.5 |
FastDatePrinter | |
SimpleDateBasic |
抽象日期基本信息类,包括日期格式、时区、本地化等信息
|
Copyright © 2025. All rights reserved.