code: public function remove($tag, $target = TimePoint::TARGET_ALL, $type = TimePoint::TYPE_ALL)
      {
          $tags = is_array($tag) ? $tag : [$tag];
          $removed = 0;
          foreach ($this->points as $idx => $point) {
              if ($point->match($tags, $target, $type)) {
                  unset($this->points[$idx]);
                  $removed++;
              }
          }
          return $removed;
      }
docs: Removes all TimePoint corresponding to the provided criteria
  @param string|array $tag A tag or a list of tags to filter
  @param int $target The type of target TimePoint to filter
  @param int $type The tyoe of TimePoint to filter
  @return int Returns the number of removed TimePoints