test_class.file: bundles/org.openhab.core/src/test/java/org/openhab/core/library/types/DateTimeTypeTest.java
test_class.identifier: DateTimeTypeTest
test_case.body: @Test
      public void parsingTest() {
          DateTimeType dt1 = new DateTimeType("2019-06-12T17:30:00Z");
          DateTimeType dt2 = new DateTimeType("2019-06-12T17:30:00+0000");
          DateTimeType dt3 = new DateTimeType("2019-06-12T19:30:00+0200");
          assertThat(dt1, is(dt2));
  
          ZonedDateTime zdt1 = dt1.getZonedDateTime();
          ZonedDateTime zdt2 = dt2.getZonedDateTime();
          ZonedDateTime zdt3 = dt3.getZonedDateTime();
          assertThat(zdt1.getZone(), is(zdt2.getZone()));
          assertThat(zdt1, is(zdt2));
          assertThat(zdt1, is(zdt3.withZoneSameInstant(zdt1.getZone())));
          assertThat(zdt2, is(zdt3.withZoneSameInstant(zdt2.getZone())));
      }
test_case.class_method_signature: DateTimeTypeTest.parsingTest()
test_case.full_signature: @Test public void parsingTest()
test_case.identifier: parsingTest
test_case.invocations: assertThat is getZonedDateTime getZonedDateTime getZonedDateTime assertThat getZone is getZone assertThat is assertThat is withZoneSameInstant getZone assertThat is withZoneSameInstant getZone
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parsingTest()
focal_class.declarator: DATE_PATTERN = "yyyy-MM-dd'T'HH:mm:ss"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATE_PATTERN = "yyyy-MM-dd'T'HH:mm:ss";
focal_class.type: String
focal_class.var_name: DATE_PATTERN
focal_class.declarator: DATE_PATTERN_WITH_TZ = "yyyy-MM-dd'T'HH:mm:ssz"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATE_PATTERN_WITH_TZ = "yyyy-MM-dd'T'HH:mm:ssz";
focal_class.type: String
focal_class.var_name: DATE_PATTERN_WITH_TZ
focal_class.declarator: DATE_PATTERN_WITH_TZ_AND_MS = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATE_PATTERN_WITH_TZ_AND_MS = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
focal_class.type: String
focal_class.var_name: DATE_PATTERN_WITH_TZ_AND_MS
focal_class.declarator: DATE_PATTERN_WITH_TZ_AND_MS_GENERAL = "yyyy-MM-dd'T'HH:mm:ss.SSSz"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATE_PATTERN_WITH_TZ_AND_MS_GENERAL = "yyyy-MM-dd'T'HH:mm:ss.SSSz";
focal_class.type: String
focal_class.var_name: DATE_PATTERN_WITH_TZ_AND_MS_GENERAL
focal_class.declarator: DATE_PATTERN_WITH_TZ_AND_MS_ISO = "yyyy-MM-dd'T'HH:mm:ss.SSSX"
focal_class.modifier: public static final
focal_class.original_string: public static final String DATE_PATTERN_WITH_TZ_AND_MS_ISO = "yyyy-MM-dd'T'HH:mm:ss.SSSX";
focal_class.type: String
focal_class.var_name: DATE_PATTERN_WITH_TZ_AND_MS_ISO
focal_class.declarator: DATE_PARSE_PATTERN_WITHOUT_TZ = "yyyy-MM-dd'T'HH:mm"
              + "[:ss[.SSSSSSSSS][.SSSSSSSS][.SSSSSSS][.SSSSSS][.SSSSS][.SSSS][.SSS][.SS][.S]]"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_PARSE_PATTERN_WITHOUT_TZ = "yyyy-MM-dd'T'HH:mm"
              + "[:ss[.SSSSSSSSS][.SSSSSSSS][.SSSSSSS][.SSSSSS][.SSSSS][.SSSS][.SSS][.SS][.S]]";
focal_class.type: String
focal_class.var_name: DATE_PARSE_PATTERN_WITHOUT_TZ
focal_class.declarator: DATE_PARSE_PATTERN_WITH_TZ = DATE_PARSE_PATTERN_WITHOUT_TZ + "z"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_PARSE_PATTERN_WITH_TZ = DATE_PARSE_PATTERN_WITHOUT_TZ + "z";
focal_class.type: String
focal_class.var_name: DATE_PARSE_PATTERN_WITH_TZ
focal_class.declarator: DATE_PARSE_PATTERN_WITH_TZ_RFC = DATE_PARSE_PATTERN_WITHOUT_TZ + "Z"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_PARSE_PATTERN_WITH_TZ_RFC = DATE_PARSE_PATTERN_WITHOUT_TZ + "Z";
focal_class.type: String
focal_class.var_name: DATE_PARSE_PATTERN_WITH_TZ_RFC
focal_class.declarator: DATE_PARSE_PATTERN_WITH_TZ_ISO = DATE_PARSE_PATTERN_WITHOUT_TZ + "X"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_PARSE_PATTERN_WITH_TZ_ISO = DATE_PARSE_PATTERN_WITHOUT_TZ + "X";
focal_class.type: String
focal_class.var_name: DATE_PARSE_PATTERN_WITH_TZ_ISO
focal_class.declarator: PARSER = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITHOUT_TZ)
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter PARSER = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITHOUT_TZ);
focal_class.type: DateTimeFormatter
focal_class.var_name: PARSER
focal_class.declarator: PARSER_TZ = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ)
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter PARSER_TZ = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ);
focal_class.type: DateTimeFormatter
focal_class.var_name: PARSER_TZ
focal_class.declarator: PARSER_TZ_RFC = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ_RFC)
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter PARSER_TZ_RFC = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ_RFC);
focal_class.type: DateTimeFormatter
focal_class.var_name: PARSER_TZ_RFC
focal_class.declarator: PARSER_TZ_ISO = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ_ISO)
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter PARSER_TZ_ISO = DateTimeFormatter.ofPattern(DATE_PARSE_PATTERN_WITH_TZ_ISO);
focal_class.type: DateTimeFormatter
focal_class.var_name: PARSER_TZ_ISO
focal_class.declarator: DATE_FORMAT_PATTERN_WITH_TZ_RFC = "yyyy-MM-dd'T'HH:mm[:ss[.SSSSSSSSS]]Z"
focal_class.modifier: private static final
focal_class.original_string: private static final String DATE_FORMAT_PATTERN_WITH_TZ_RFC = "yyyy-MM-dd'T'HH:mm[:ss[.SSSSSSSSS]]Z";
focal_class.type: String
focal_class.var_name: DATE_FORMAT_PATTERN_WITH_TZ_RFC
focal_class.declarator: FORMATTER_TZ_RFC = DateTimeFormatter
              .ofPattern(DATE_FORMAT_PATTERN_WITH_TZ_RFC)
focal_class.modifier: private static final
focal_class.original_string: private static final DateTimeFormatter FORMATTER_TZ_RFC = DateTimeFormatter
              .ofPattern(DATE_FORMAT_PATTERN_WITH_TZ_RFC);
focal_class.type: DateTimeFormatter
focal_class.var_name: FORMATTER_TZ_RFC
focal_class.declarator: zonedDateTime
focal_class.modifier: private
focal_class.original_string: private ZonedDateTime zonedDateTime;
focal_class.type: ZonedDateTime
focal_class.var_name: zonedDateTime
focal_class.file: bundles/org.openhab.core/src/main/java/org/openhab/core/library/types/DateTimeType.java
focal_class.identifier: DateTimeType
focal_class.interfaces: implements PrimitiveType, State, Command
focal_class.class_method_signature: DateTimeType.DateTimeType()
focal_class.full_signature: public  DateTimeType()
focal_class.identifier: DateTimeType
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  DateTimeType()
focal_class.class_method_signature: DateTimeType.DateTimeType(ZonedDateTime zoned)
focal_class.full_signature: public  DateTimeType(ZonedDateTime zoned)
focal_class.identifier: DateTimeType
focal_class.modifiers: public
focal_class.parameters: (ZonedDateTime zoned)
focal_class.signature:  DateTimeType(ZonedDateTime zoned)
focal_class.class_method_signature: DateTimeType.DateTimeType(String zonedValue)
focal_class.full_signature: public  DateTimeType(String zonedValue)
focal_class.identifier: DateTimeType
focal_class.modifiers: public
focal_class.parameters: (String zonedValue)
focal_class.signature:  DateTimeType(String zonedValue)
focal_class.class_method_signature: DateTimeType.getZonedDateTime()
focal_class.full_signature: public ZonedDateTime getZonedDateTime()
focal_class.identifier: getZonedDateTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ZonedDateTime
focal_class.signature: ZonedDateTime getZonedDateTime()
focal_class.class_method_signature: DateTimeType.valueOf(String value)
focal_class.full_signature: public static DateTimeType valueOf(String value)
focal_class.identifier: valueOf
focal_class.modifiers: public static
focal_class.parameters: (String value)
focal_class.return: DateTimeType
focal_class.signature: DateTimeType valueOf(String value)
focal_class.class_method_signature: DateTimeType.format(@Nullable String pattern)
focal_class.full_signature: @Override public String format(@Nullable String pattern)
focal_class.identifier: format
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String pattern)
focal_class.return: String
focal_class.signature: String format(@Nullable String pattern)
focal_class.class_method_signature: DateTimeType.format(Locale locale, String pattern)
focal_class.full_signature: public String format(Locale locale, String pattern)
focal_class.identifier: format
focal_class.modifiers: public
focal_class.parameters: (Locale locale, String pattern)
focal_class.return: String
focal_class.signature: String format(Locale locale, String pattern)
focal_class.class_method_signature: DateTimeType.toLocaleZone()
focal_class.full_signature: public DateTimeType toLocaleZone()
focal_class.identifier: toLocaleZone
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: DateTimeType
focal_class.signature: DateTimeType toLocaleZone()
focal_class.class_method_signature: DateTimeType.toZone(String zone)
focal_class.full_signature: public DateTimeType toZone(String zone)
focal_class.identifier: toZone
focal_class.modifiers: public
focal_class.parameters: (String zone)
focal_class.return: DateTimeType
focal_class.signature: DateTimeType toZone(String zone)
focal_class.class_method_signature: DateTimeType.toZone(ZoneId zoneId)
focal_class.full_signature: public DateTimeType toZone(ZoneId zoneId)
focal_class.identifier: toZone
focal_class.modifiers: public
focal_class.parameters: (ZoneId zoneId)
focal_class.return: DateTimeType
focal_class.signature: DateTimeType toZone(ZoneId zoneId)
focal_class.class_method_signature: DateTimeType.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: DateTimeType.toFullString()
focal_class.full_signature: @Override public String toFullString()
focal_class.identifier: toFullString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toFullString()
focal_class.class_method_signature: DateTimeType.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DateTimeType.equals(@Nullable Object obj)
focal_class.full_signature: @Override public boolean equals(@Nullable Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable Object obj)
focal_class.class_method_signature: DateTimeType.parse(String value)
focal_class.full_signature: private ZonedDateTime parse(String value)
focal_class.identifier: parse
focal_class.modifiers: private
focal_class.parameters: (String value)
focal_class.return: ZonedDateTime
focal_class.signature: ZonedDateTime parse(String value)
focal_method.body: public ZonedDateTime getZonedDateTime() {
          return zonedDateTime;
      }
focal_method.class_method_signature: DateTimeType.getZonedDateTime()
focal_method.full_signature: public ZonedDateTime getZonedDateTime()
focal_method.identifier: getZonedDateTime
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: ZonedDateTime
focal_method.signature: ZonedDateTime getZonedDateTime()