From 36ce7d193e9a374efaffd031ac0fdc9bcbe76598 Mon Sep 17 00:00:00 2001 From: Meno Hochschild Date: Mon, 4 Jul 2016 19:30:53 +0200 Subject: [PATCH] better example in javadoc --- .../src/main/java/net/time4j/engine/ChronoElement.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/time4j-android/src/main/java/net/time4j/engine/ChronoElement.java b/time4j-android/src/main/java/net/time4j/engine/ChronoElement.java index e17a227..cd975f2 100644 --- a/time4j-android/src/main/java/net/time4j/engine/ChronoElement.java +++ b/time4j-android/src/main/java/net/time4j/engine/ChronoElement.java @@ -310,9 +310,8 @@ int compare( * like eras, years, quarters, months, weeks, day-of-month, day-of-week, am/pm, hour, minute and second * do have localization support. The default implementation falls back to the technical element name.

* - *

Note that the displayed name does not need to be unique for different elements. For example - * the localized names of {@code PlainDate.DAY_OF_MONTH} and {@code PlainDate.DAY_OF_YEAR} might - * be equal.

+ *

Note that the displayed name does not need to be unique for different elements. For example the + * localized names of {@code PlainDate.MONTH_OF_YEAR} and {@code PlainDate.MONTH_AS_NUMBER} are equal.

* * @param language language setting * @return localized name or if not available then {@link #name() a technical name} will be chosen @@ -327,7 +326,7 @@ int compare( * Elementnamen zurück.

* *

Hinweis: Der Anzeigename muß nicht eindeutig sein. Zum Beispiel sind die Anzeigenamen - * von {@code PlainDate.DAY_OF_MONTH} und {@code PlainDate.DAY_OF_YEAR} in der Regel gleich.

+ * von {@code PlainDate.MONTH_OF_YEAR} und {@code PlainDate.MONTH_AS_NUMBER} in der Regel gleich.

* * @param language language setting * @return localized name or if not available then {@link #name() a technical name} will be chosen