Interface SunriseResult

All Known Implementing Classes:
SunriseResult.AllDay, SunriseResult.AllNight, SunriseResult.RegularDay

public sealed interface SunriseResult permits SunriseResult.RegularDay, SunriseResult.AllDay, SunriseResult.AllNight
Result types for sunrise/sunset calculations.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A day on which the sun is above the horizon all the time (polar day).
    static final record 
    A day on which the sun is below the horizon all the time (polar night).
    static final record 
    Result type for a day with sunrise and sunset.
  • Method Summary

    Modifier and Type
    Method
    Description