Package cloud.opencode.base.date.extra
package cloud.opencode.base.date.extra
-
ClassDescriptionAmPm enum representing AM (ante meridiem) and PM (post meridiem) 上午/下午枚举,表示上午(AM)和下午(PM)DayOfMonth class representing a day within a month (1-31) 月份中的天,表示月份中的一天(1-31)DayOfYear class representing a day within a year (1-366) 年份中的天,表示年份中的一天(1-366)Days unit class representing a number of days 天数单位类,表示天数Hours unit class representing a number of hours 小时单位类,表示小时数Time Interval representing a span between two Instants 时间区间,表示两个Instant之间的时间跨度Date Range representing a span of LocalDates 日期范围,表示LocalDate的跨度DateTime Range representing a span of LocalDateTimes 日期时间范围,表示LocalDateTime的跨度A time range representing a span between two LocalTime values 表示两个LocalTime值之间跨度的时间范围Minutes unit class representing a number of minutes 分钟单位类,表示分钟数Months unit class representing a number of months 月数单位类,表示月数Period and Duration combination representing both date-based and time-based amounts 周期和时长的组合,表示基于日期和基于时间的数量Quarter Enum representing the four quarters of a year 季度枚举,表示一年中的四个季度Seconds unit class representing a number of seconds 秒数单位类,表示秒数Weeks unit class representing a number of weeks 周数单位类,表示周数A year-half representation (e.g., 2024-H1, 2024-H2) 年-半年表示(如2024-H1、2024-H2)Enum representing the two halves of a year 表示一年两半的枚举Year-Quarter combination representing a specific quarter in a specific year 年-季度组合,表示特定年份的特定季度Years unit class representing a number of years 年数单位类,表示年数Year-Week combination representing a specific ISO week in a specific year 年-周组合,表示特定年份的特定ISO周