@Override
        public boolean matchesInternal(DateTimeParserContext ctx) {
            CharBuffer cb = ctx.tokenizer().readCharBuffer(ctx.tokens().get(ctx.cursor().value()));
            return HOUR_12.matcher(cb).matches();
        }
Matches the hour in 24 hour format: "04", "07", "19" including "24"
exts/jphp-zend-ext/src/main/java/org/develnext/jphp/zend/ext/standard/date/DateTimeParser.java