diff --git a/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java b/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java index afa6ccd..eab4314 100644 --- a/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java +++ b/time4j-android/src/main/java/net/time4j/android/spi/AndroidResourceLoader.java @@ -186,6 +186,8 @@ public InputStream load( } } catch (IOException ioe) { return null; + } catch (RuntimeException re) { + return null; } } diff --git a/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java b/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java index 3dd8e8a..2176510 100644 --- a/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java +++ b/time4j-android/src/main/java/net/time4j/format/expert/ChronoFormatter.java @@ -4916,7 +4916,9 @@ public Builder addIgnorableWhitespace() { /** *

Skips all characters from input as unparseable until at least given count of characters is left.

* - *

Note: This method is only relevant for parsing. During printing, this method does nothing.

+ *

Note: This method is only relevant for parsing. If the argument is zero then the method is equivalent + * to setting the format attribute {@code Attributes.TRAILING_CHARACTERS}. During printing, this method does + * nothing.

* * @param keepRemainingChars minimum count of characters which should be reserved for following steps * @return this instance for method chaining @@ -4929,7 +4931,9 @@ public Builder addIgnorableWhitespace() { *

Ignoriert alle Zeichen als nicht-interpretierbar, bis wenigstens die angegebene Anzahl von Zeichen * übrigbleibt.

* - *

Hinweis: Diese Methode ist nur beim Parsen relevant, in der Textausgabe macht die Methode nichts.

+ *

Hinweis: Diese Methode ist nur beim Parsen relevant. Wenn das Argument den Wert 0 hat, dann ist diese + * Methode äquivalent zum Setzen des Formatattributs {@code Attributes.TRAILING_CHARACTERS}. In der + * Textausgabe macht die Methode nichts.

* * @param keepRemainingChars minimum count of characters which should be reserved for following steps * @return this instance for method chaining