private @Nullable Date selectDate(@NotNull Selector selector, @NotNull Object context) throws Exception {
    String s = selectString(selector, context);
    if (s == null) {
      return null;
    }
    return TaskUtil.parseDate(s);
  }
private @Nullable Date selectDate(@NotNull Selector selector, @NotNull Object context)