Package | Description |
---|---|
org.dromara.hutool.core.date.format |
提供线程安全的日期格式的格式化和解析实现
|
org.dromara.hutool.core.date.format.parser |
提供日期解析相关封装,主要包括:
DateParser
/ | \
FastDateParser RegisterDateParser RegexDateParser
(根据日期格式解析) (根据注册的模式匹配解析) (通过预定义正则解析)
|
Modifier and Type | Interface and Description |
---|---|
interface |
DatePrinter
日期格式化输出接口
Thanks to Apache Commons Lang 3.5 |
Modifier and Type | Class and Description |
---|---|
class |
DefaultDateBasic
默认日期基本信息类,包括:
DefaultDateBasic.getPattern() 返回null
DefaultDateBasic.getTimeZone() ()}返回TimeZone.getDefault()
DefaultDateBasic.getLocale() ()} ()}返回Locale.getDefault()
|
class |
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 |
class |
FastDatePrinter
|
class |
SimpleDateBasic
抽象日期基本信息类,包括日期格式、时区、本地化等信息
|
Modifier and Type | Interface and Description |
---|---|
interface |
PositionDateParser
|
Modifier and Type | Class and Description |
---|---|
class |
FastDateParser
|
Copyright © 2025. All rights reserved.