code: public static Calendar previous(Calendar self) {
          Calendar result = (Calendar) self.clone();
          result.add(Calendar.DAY_OF_YEAR, -1);
          return result;
      }
docs: Decrement a Calendar by one day.
  
  @param self a Calendar
  @return a new Calendar set to the previous day
  @since 1.8.7