code: public final boolean includes(final Date date, final int inclusiveMask) {
          boolean includes;
          if ((inclusiveMask & INCLUSIVE_START) > 0) {
              includes = !rangeStart.after(date);
          }
          else {
              includes = rangeStart.before(date);
          }
          if ((inclusiveMask & INCLUSIVE_END) > 0) {
              includes = includes && !rangeEnd.before(date);
          }
          else {
              includes = includes && rangeEnd.after(date);
          }
          return includes;
      }
docs: Decides whether a date falls within this period.
  @param date the date to be tested
  @param inclusiveMask specifies whether period start and end are included
  in the calculation
  @return true if the date is in the period, false otherwise
  @see Period#INCLUSIVE_START
  @see Period#INCLUSIVE_END