Class DateTimeCalculation
java.lang.Object
org.lfenergy.shapeshifter.api.datetime.DateTimeCalculation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanBeConvertedWithoutOffset(Duration duration) static OffsetDateTimeispEndInDay(LocalDate onDay, String ianaTimeZone, long ofOneBasedIspIndex, Duration ispDuration) static DurationlengthOfDay(LocalDate onDay, String ianaTimeZone) static longnumberOfIspsOnDay(LocalDate onDay, Duration ispDuration, String ianaTimeZone) static ZonedDateTimestartOfDay(ZonedDateTime pointInTime) static DurationtoJavaTime(Duration duration) static ZoneId
-
Method Details
-
toJavaTime
-
canBeConvertedWithoutOffset
-
toZoneId
-
startOfDay
-
lengthOfDay
-
ispEndInDay
public static OffsetDateTime ispEndInDay(LocalDate onDay, String ianaTimeZone, long ofOneBasedIspIndex, Duration ispDuration) -
numberOfIspsOnDay
-