Uses of Enum Class
org.aoju.bus.core.lang.Fields.Units
Packages that use Fields.Units
Package
Description
日期封装,日期的核心为DateTime类
提供线程安全的日期格式的格式化和解析实现
语言特性包,包括大量便捷的数据结构,例如验证器Validator,分布式ID生成器Snowflake等
-
Uses of Fields.Units in org.aoju.bus.core.date
Methods in org.aoju.bus.core.date with parameters of type Fields.UnitsModifier and TypeMethodDescriptionstatic longAlmanac.between(Date beginDate, Date endDate, Fields.Units units) 判断两个日期相差的时长,只保留绝对值static longAlmanac.between(Date beginDate, Date endDate, Fields.Units units, boolean isAbs) 判断两个日期相差的时长longBetween.between(Fields.Units units) 判断两个日期相差的时长 返回 给定单位的时长差longDateTime.between(Date date, Fields.Units units) 计算相差时长static StringFormatter.formatBetween(long betweenMs, Fields.Units units) 格式化日期间隔输出static StringFormatter.formatBetween(Date beginDate, Date endDate, Fields.Units units) 格式化日期间隔输出Between.toString(Fields.Units unit) 格式化输出时间差 -
Uses of Fields.Units in org.aoju.bus.core.date.formatter
Methods in org.aoju.bus.core.date.formatter that return Fields.UnitsMethods in org.aoju.bus.core.date.formatter with parameters of type Fields.UnitsConstructors in org.aoju.bus.core.date.formatter with parameters of type Fields.UnitsModifierConstructorDescriptionDatePeriod(long betweenMs, Fields.Units units) 构造DatePeriod(long betweenMs, Fields.Units unit, int maxCount) 构造 -
Uses of Fields.Units in org.aoju.bus.core.lang
Methods in org.aoju.bus.core.lang that return Fields.UnitsModifier and TypeMethodDescriptionstatic Fields.UnitsReturns the enum constant of this class with the specified name.static Fields.Units[]Fields.Units.values()Returns an array containing the constants of this enum class, in the order they are declared.