Class FortNight

    • Constructor Summary

      Constructors 
      Constructor Description
      FortNight()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Interval getInterval​(java.util.Date date, java.util.Locale locale)  
      protected java.util.Calendar getStartOfWeek​(java.util.Date date, java.util.Locale locale)
      Compute start of the week (Calendar.MONDAY in this implementation)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FortNight

        public FortNight()
    • Method Detail

      • getStartOfWeek

        protected java.util.Calendar getStartOfWeek​(java.util.Date date,
                                                    java.util.Locale locale)
        Compute start of the week (Calendar.MONDAY in this implementation)
        Parameters:
        date - the date inside the week
        locale - the current Locale
        Returns:
        the Calendar of the first day of the week