Class Ephemeris


  • public class Ephemeris
    extends Object
    The static methods of this class are made available as functions in the scripts. This allows a script to use ephemeris features.
    Author:
    Gaƫl L'hopital - Initial contribution
    • Constructor Detail

      • Ephemeris

        public Ephemeris()
    • Method Detail

      • isWeekend

        public static boolean isWeekend()
      • isWeekend

        public static boolean isWeekend​(int offset)
      • isWeekend

        public static boolean isWeekend​(ZonedDateTime day)
      • isInDayset

        public static boolean isInDayset​(String daysetName)
      • isInDayset

        public static boolean isInDayset​(String daysetName,
                                         int offset)
      • isBankHoliday

        public static boolean isBankHoliday()
      • isBankHoliday

        public static boolean isBankHoliday​(int offset)
      • isBankHoliday

        public static boolean isBankHoliday​(ZonedDateTime day)
      • isBankHoliday

        public static boolean isBankHoliday​(String filename)
      • isBankHoliday

        public static boolean isBankHoliday​(int offset,
                                            String filename)
      • getBankHolidayName

        public static @Nullable String getBankHolidayName()
      • getBankHolidayName

        public static @Nullable String getBankHolidayName​(int offset)
      • getBankHolidayName

        public static @Nullable String getBankHolidayName​(ZonedDateTime day)
      • getBankHolidayName

        public static @Nullable String getBankHolidayName​(String filename)
      • getBankHolidayName

        public static @Nullable String getBankHolidayName​(int offset,
                                                          String filename)
      • getNextBankHoliday

        public static @Nullable String getNextBankHoliday()
      • getNextBankHoliday

        public static @Nullable String getNextBankHoliday​(int offset)
      • getNextBankHoliday

        public static @Nullable String getNextBankHoliday​(ZonedDateTime day)
      • getNextBankHoliday

        public static @Nullable String getNextBankHoliday​(String filename)
      • getNextBankHoliday

        public static @Nullable String getNextBankHoliday​(int offset,
                                                          String filename)
      • getHolidayDescription

        public static @Nullable String getHolidayDescription​(@Nullable String holiday)
      • getDaysUntil

        public static long getDaysUntil​(String searchedHoliday)
      • getDaysUntil

        public static long getDaysUntil​(ZonedDateTime day,
                                        String searchedHoliday)
      • getDaysUntil

        public static long getDaysUntil​(String searchedHoliday,
                                        String filename)