I'm using the AccountingDate implemented into this project.
public final class AccountingDate extends AbstractDate implements ChronoLocalDate, Serializable {}
您知道一种将AccountingDate转换为Instant或LocalDate的方法吗?
I'm using the AccountingDate implemented into this project.
public final class AccountingDate extends AbstractDate implements ChronoLocalDate, Serializable {}
您知道一种将AccountingDate转换为Instant或LocalDate的方法吗?
According to the documentation,
AccountingDate
inherits fromChronoLocalDate
which is a subinterface ofTemporalAccessor
. So you should be able to call:where
accountingDate
is an instance ofAccountingDate
.