code: @Override
    public long getNextIncludedTime (final long nTimeStamp)
    {
  
      // Call base calendar implementation first
      long timeStamp = nTimeStamp;
      final long baseTime = super.getNextIncludedTime (timeStamp);
      if ((baseTime > 0) && (baseTime > timeStamp))
      {
        timeStamp = baseTime;
      }
  
      // Get timestamp for 00:00:00
      final Calendar day = getStartOfDayJavaCalendar (timeStamp);
      while (isTimeIncluded (day.getTime ().getTime ()) == false)
      {
        day.add (Calendar.DATE, 1);
      }
  
      return day.getTime ().getTime ();
    }
docs: <p>
  Determine the next time (in milliseconds) that is 'included' by the
  Calendar after the given time.
  </p>
  <p>
  Note that this Calendar is only has full-day precision.
  </p>