I'm using the AccountingDate implemented into this project.
public final class AccountingDate extends AbstractDate implements ChronoLocalDate, Serializable {}
Do you know a way to convert an AccountingDate to Instant or LocalDate?
I'm using the AccountingDate implemented into this project.
public final class AccountingDate extends AbstractDate implements ChronoLocalDate, Serializable {}
Do you know a way to convert an AccountingDate to Instant or LocalDate?
Copyright © 2021 Jogjafile Inc.
AccountingDateimplementsChronoLocalDate, which supports all date basedChronoFields, so it supportsChronoFields.EPOCH_DAY, soLocalDate.fromworks:To convert a date to an
Instant, you need two more pieces of information:If we assume the time is midnight, and the zone offset being UTC, we can do: