public function test_appendOffset_3arg_nullPattern()
 {
     TestHelper::assertNullException($this, function () {
         $this->builder->appendOffset(null, "Z");
     });
 }
 /**
  * @dataProvider data_print
  */
 public function test_print($offsetPattern, $noOffset, LocalDateTime $ldt, ZoneId $zone, $expected)
 {
     $zdt = $ldt->atZone($zone);
     $this->builder->appendOffset($offsetPattern, $noOffset);
     $output = $this->builder->toFormatter()->format($zdt);
     $this->assertEquals($output, $expected);
 }
 protected function getFormatterPattern($pattern, $noOffsetText)
 {
     return $this->builder->appendOffset($pattern, $noOffsetText)->toFormatter2($this->locale)->withDecimalStyle($this->decimalStyle);
 }