test_class.file: model/base/src/test/java/org/eclipse/ditto/model/base/headers/DittoDurationTest.java
test_class.identifier: DittoDurationTest
test_case.body: @Test
      public void createDittoDurationFromStringHoursFails() {
          assertThatExceptionOfType(NumberFormatException.class)
                  .isThrownBy(() -> DittoDuration.parseDuration("1h"));
      }
test_case.class_method_signature: DittoDurationTest.createDittoDurationFromStringHoursFails()
test_case.full_signature: @Test public void createDittoDurationFromStringHoursFails()
test_case.identifier: createDittoDurationFromStringHoursFails
test_case.invocations: isThrownBy assertThatExceptionOfType parseDuration
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createDittoDurationFromStringHoursFails()
focal_class.declarator: amount
focal_class.modifier: private final
focal_class.original_string: private final long amount;
focal_class.type: long
focal_class.var_name: amount
focal_class.declarator: dittoTimeUnit
focal_class.modifier: private final
focal_class.original_string: private final DittoTimeUnit dittoTimeUnit;
focal_class.type: DittoTimeUnit
focal_class.var_name: dittoTimeUnit
focal_class.file: model/base/src/main/java/org/eclipse/ditto/model/base/headers/DittoDuration.java
focal_class.identifier: DittoDuration
focal_class.interfaces: implements CharSequence
focal_class.class_method_signature: DittoDuration.DittoDuration(final long amount, final DittoTimeUnit dittoTimeUnit)
focal_class.full_signature: private  DittoDuration(final long amount, final DittoTimeUnit dittoTimeUnit)
focal_class.identifier: DittoDuration
focal_class.modifiers: private
focal_class.parameters: (final long amount, final DittoTimeUnit dittoTimeUnit)
focal_class.signature:  DittoDuration(final long amount, final DittoTimeUnit dittoTimeUnit)
focal_class.class_method_signature: DittoDuration.of(final Duration duration)
focal_class.full_signature: static DittoDuration of(final Duration duration)
focal_class.identifier: of
focal_class.modifiers: static
focal_class.parameters: (final Duration duration)
focal_class.return: DittoDuration
focal_class.signature: DittoDuration of(final Duration duration)
focal_class.class_method_signature: DittoDuration.parseDuration(final CharSequence duration)
focal_class.full_signature: static DittoDuration parseDuration(final CharSequence duration)
focal_class.identifier: parseDuration
focal_class.modifiers: static
focal_class.parameters: (final CharSequence duration)
focal_class.return: DittoDuration
focal_class.signature: DittoDuration parseDuration(final CharSequence duration)
focal_class.class_method_signature: DittoDuration.parseDuration(final CharSequence duration, final DittoTimeUnit[] dittoTimeUnits)
focal_class.full_signature: private static DittoDuration parseDuration(final CharSequence duration, final DittoTimeUnit[] dittoTimeUnits)
focal_class.identifier: parseDuration
focal_class.modifiers: private static
focal_class.parameters: (final CharSequence duration, final DittoTimeUnit[] dittoTimeUnits)
focal_class.return: DittoDuration
focal_class.signature: DittoDuration parseDuration(final CharSequence duration, final DittoTimeUnit[] dittoTimeUnits)
focal_class.class_method_signature: DittoDuration.parseDurationRegexBased(final CharSequence duration, final DittoTimeUnit dittoTimeUnit)
focal_class.full_signature: @Nullable private static Long parseDurationRegexBased(final CharSequence duration, final DittoTimeUnit dittoTimeUnit)
focal_class.identifier: parseDurationRegexBased
focal_class.modifiers: @Nullable private static
focal_class.parameters: (final CharSequence duration, final DittoTimeUnit dittoTimeUnit)
focal_class.return: Long
focal_class.signature: Long parseDurationRegexBased(final CharSequence duration, final DittoTimeUnit dittoTimeUnit)
focal_class.class_method_signature: DittoDuration.parseDurationPlain(final CharSequence charSequence, final CharSequence timeUnitSuffix)
focal_class.full_signature: private static Long parseDurationPlain(final CharSequence charSequence, final CharSequence timeUnitSuffix)
focal_class.identifier: parseDurationPlain
focal_class.modifiers: private static
focal_class.parameters: (final CharSequence charSequence, final CharSequence timeUnitSuffix)
focal_class.return: Long
focal_class.signature: Long parseDurationPlain(final CharSequence charSequence, final CharSequence timeUnitSuffix)
focal_class.class_method_signature: DittoDuration.isZero()
focal_class.full_signature:  boolean isZero()
focal_class.identifier: isZero
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isZero()
focal_class.class_method_signature: DittoDuration.getDuration()
focal_class.full_signature:  Duration getDuration()
focal_class.identifier: getDuration
focal_class.parameters: ()
focal_class.return: Duration
focal_class.signature: Duration getDuration()
focal_class.class_method_signature: DittoDuration.length()
focal_class.full_signature: @Override public int length()
focal_class.identifier: length
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int length()
focal_class.class_method_signature: DittoDuration.charAt(final int index)
focal_class.full_signature: @Override public char charAt(final int index)
focal_class.identifier: charAt
focal_class.modifiers: @Override public
focal_class.parameters: (final int index)
focal_class.return: char
focal_class.signature: char charAt(final int index)
focal_class.class_method_signature: DittoDuration.subSequence(final int start, final int end)
focal_class.full_signature: @Override public CharSequence subSequence(final int start, final int end)
focal_class.identifier: subSequence
focal_class.modifiers: @Override public
focal_class.parameters: (final int start, final int end)
focal_class.return: CharSequence
focal_class.signature: CharSequence subSequence(final int start, final int end)
focal_class.class_method_signature: DittoDuration.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: DittoDuration.equals(@Nullable final Object o)
focal_class.full_signature: @Override public boolean equals(@Nullable final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(@Nullable final Object o)
focal_class.class_method_signature: DittoDuration.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_method.body: static DittoDuration parseDuration(final CharSequence duration) {
          return parseDuration(checkNotNull(duration, "duration"), DittoTimeUnit.values());
      }
focal_method.class_method_signature: DittoDuration.parseDuration(final CharSequence duration)
focal_method.full_signature: static DittoDuration parseDuration(final CharSequence duration)
focal_method.identifier: parseDuration
focal_method.invocations: parseDuration checkNotNull values
focal_method.modifiers: static
focal_method.parameters: (final CharSequence duration)
focal_method.return: DittoDuration
focal_method.signature: DittoDuration parseDuration(final CharSequence duration)