DateTimeFormatterSkeletonOptions.Era


public final class DateTimeFormatterSkeletonOptions.Era


Era name. Era string for the date.

Summary

Public fields

ABBREVIATED

public static final @NonNull DateTimeFormatterSkeletonOptions.Era ABBREVIATED

E.g. "AD".

NARROW

public static final @NonNull DateTimeFormatterSkeletonOptions.Era NARROW

E.g. "A".

NONE

public static final @NonNull DateTimeFormatterSkeletonOptions.Era NONE

Produces no output.

WIDE

public static final @NonNull DateTimeFormatterSkeletonOptions.Era WIDE

E.g. "Anno Domini".

Public methods

fromString

Added in 1.0.0-alpha01
public static final @NonNull DateTimeFormatterSkeletonOptions.Era fromString(@NonNull String value)

getValue

Added in 1.0.0-alpha01
public final @NonNull String getValue()