DateTimeFormatterSkeletonOptions.Period


public final class DateTimeFormatterSkeletonOptions.Period


The period of the day, if the hour is not 23h or 24h style.

Summary

Public fields

ABBREVIATED

public static final @NonNull DateTimeFormatterSkeletonOptions.Period ABBREVIATED

E.g. "12 a.m.".

FLEXIBLE

public static final @NonNull DateTimeFormatterSkeletonOptions.Period FLEXIBLE

Flexible day periods. May be upper or lowercase depending on the locale and other options. Often there is only one width that is customarily used. E.g. "3:00 at night"

NARROW

public static final @NonNull DateTimeFormatterSkeletonOptions.Period NARROW

E.g. "12 a".

NONE

public static final @NonNull DateTimeFormatterSkeletonOptions.Period NONE

Produces no output.

WIDE

public static final @NonNull DateTimeFormatterSkeletonOptions.Period WIDE

E.g. "12 a.m.".

Public methods

fromString

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

getValue

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