code: public DayPartitionRule build() {
  
          final Map<Weekday, List<ChronoInterval<PlainTime>>> wRules = new EnumMap<>(this.weekdayRules);
          final Map<PlainDate, List<ChronoInterval<PlainTime>>> eRules = new HashMap<>(this.exceptionRules);
          final Set<PlainDate> invalid = new HashSet<>(this.exclusions);
  
          return new DayPartitionRule() {
              @Override
              public List<ChronoInterval<PlainTime>> getPartitions(PlainDate date) {
                  if (!this.isExcluded(date) && activeFilter.test(date)) {
                      List<ChronoInterval<PlainTime>> partitions = eRules.get(date);
                      if (partitions == null) {
                          partitions = wRules.get(date.getDayOfWeek());
                      }
                      if (partitions != null) {
                          return Collections.unmodifiableList(partitions);
                      }
                  }
                  return Collections.emptyList();
              }
              @Override
              public boolean isExcluded(PlainDate date) {
                  return invalid.contains(date);
              }
          };
  
      }
docs: /*[deutsch]
  <p>Erzeugt eine neue Regel zur Zerlegung eines Tages in einen oder mehrere Tagesabschnitte. </p>
  
  @return  DayPartitionRule