function provider_StandaloneNames()
 {
     return [[self::RUSSIAN(), ChronoField::MONTH_OF_YEAR(), TextStyle::FULL_STANDALONE(), TestHelper::getRussianJanuary()], [self::RUSSIAN(), ChronoField::MONTH_OF_YEAR(), TextStyle::SHORT_STANDALONE(), TestHelper::getRussianJan()], [self::FINNISH(), ChronoField::DAY_OF_WEEK(), TextStyle::FULL_STANDALONE(), "tiistai"], [self::FINNISH(), ChronoField::DAY_OF_WEEK(), TextStyle::SHORT_STANDALONE(), "ti"]];
 }
 public function test_parseUnresolved_StringParsePosition_nullParsePosition()
 {
     TestHelper::assertNullException($this, function () {
         $test = $this->fmt->withLocale(Locale::ENGLISH())->withDecimalStyle(DecimalStyle::STANDARD());
         $test->parseUnresolved("ONE30", null);
     });
 }
 public function test_zonedDateTime_TemporalAccessor_null()
 {
     TestHelper::assertNullException($this, function () {
         IsoChronology::INSTANCE()->zonedDateTimeFrom(null);
     });
 }
 public function test_factory_nullOffsetAfter()
 {
     TestHelper::assertNullException($this, function () {
         ZoneOffsetTransitionRule::of(Month::MARCH(), 20, DayOfWeek::SUNDAY(), self::TIME_0100(), false, TimeDefinition::WALL(), self::OFFSET_0200(), self::OFFSET_0200(), null);
     });
 }
 public function test_nullLocaleTemporalFieldDisplayName()
 {
     TestHelper::assertNullException($this, function () {
         // Test the default method in TemporalField using the
         // IsoFields.DAY_OF_QUARTER which does not override getDisplayName
         IsoFields::DAY_OF_QUARTER()->getDisplayName(null);
     });
 }
 public function test_appendZoneText_1arg_nullText()
 {
     TestHelper::assertNullException($this, function () {
         $this->builder->appendZoneText(null);
     });
 }
 public function test_pattern_StringLocale_nullLocale()
 {
     TestHelper::assertNullException($this, function () {
         DateTimeFormatter::ofPatternLocale("yyyy", null);
     });
 }
 public function test_factory_nullOffsetAfter()
 {
     TestHelper::assertNullException($this, function () {
         ZoneOffsetTransition::of(LocalDateTime::of(2010, 12, 3, 11, 30), self::OFFSET_0200(), null);
     });
 }
 public function test_factory_previousOrCurrent_nullDayOfWeek()
 {
     TestHelper::assertNullException($this, function () {
         TemporalAdjusters::previousOrSame(null);
     });
 }
 /**
  * @dataProvider provider_text
  */
 public function test_parse_strict_caseInsensitive_parseLower(TemporalField $field, TextStyle $style, $value, $input)
 {
     $this->setCaseSensitive(false);
     $pos = new ParsePosition(0);
     $this->assertEquals($this->getFormatterFieldStyle($field, $style)->parseUnresolved(TestHelper::toLowerMb($input), $pos)->getLong($field), $value);
     $this->assertEquals($pos->getIndex(), strlen($input));
 }
 public function test_getLocalizedLocaleNPE()
 {
     TestHelper::assertNullException($this, function () {
         DateTimeFormatterBuilder::getLocalizedDateTimePattern(FormatStyle::SHORT(), FormatStyle::SHORT(), IsoChronology::INSTANCE(), null);
     });
 }