/** * For a ReducedPrinterParser, fixed width is false if the mode is strict, * otherwise it is set as for NumberPrinterParser. * @param DateTimeParseContext $context the context * @return bool if the field is fixed width * @see DateTimeFormatterBuilder#appendValueReduced(java.time.temporal.TemporalField, int, int, int) */ public function isFixedWidth(DateTimeParseContext $context) { if ($context->isStrict() == false) { return false; } return parent::isFixedWidth($context); }