JapaneseEra.Values Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an array of JapaneseEras.
[Android.Runtime.Register("values", "()[Ljava/time/chrono/JapaneseEra;", "", ApiSince=26)]
public static Java.Time.Chrono.JapaneseEra[]? Values ();
[<Android.Runtime.Register("values", "()[Ljava/time/chrono/JapaneseEra;", "", ApiSince=26)>]
static member Values : unit -> Java.Time.Chrono.JapaneseEra[]
Returns
an array of JapaneseEras
- Attributes
Remarks
Returns an array of JapaneseEras. The array may contain eras defined by the Japanese government beyond the known era singletons.
This method may be used to iterate over the JapaneseEras as follows:
for (JapaneseEra c : JapaneseEra.values())
System.out.println(c);
Java documentation for java.time.chrono.JapaneseEra.values()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.