private static Consumer<DateTimeParserContext> relWeek() {
        return ctx -> {
            if (ctx.hasModifications())
                ctx.atStartOfDay();

            ctx.withAdjuster(relativeDayOfWeek(ctx.readStringAt(ctx.cursor().value() - 2), DayOfWeek.MONDAY), ChronoField.DAY_OF_WEEK);
        };
    }
The base time for relative statements.
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/date/DateTimeParser.java