DateTimeFormatterSkeletonOptions.Hour


public final class DateTimeFormatterSkeletonOptions.Hour


Hour (numeric).

Summary

Public fields

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Bad i18n.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Bad i18n.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Bad i18n.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Bad i18n.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Produces no output.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

As many digits as needed to show the full value.

static final @NonNull DateTimeFormatterSkeletonOptions.Hour

Two digits, zero pad if needed.

Public fields

FORCE_12H_NUMERIC

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour FORCE_12H_NUMERIC

Bad i18n. As many digits as needed to show the full value. Day period added automatically. E.g. "8 AM", "1 PM".

FORCE_12H_TWO_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour FORCE_12H_TWO_DIGITS

Bad i18n. Two digits, zero pad if needed. Day period added automatically. E.g. "08 AM", "01 PM".

FORCE_24H_NUMERIC

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour FORCE_24H_NUMERIC

Bad i18n. As many digits as needed to show the full value. No day period. E.g. "8", "13".

FORCE_24H_TWO_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour FORCE_24H_TWO_DIGITS

Bad i18n. Two digits, zero pad if needed. No day period. E.g. "08", "13".

NONE

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour NONE

Produces no output.

NUMERIC

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour NUMERIC

As many digits as needed to show the full value. Day period if used. E.g. "8", "8 AM", "13", "1 PM".

TWO_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.Hour TWO_DIGITS

Two digits, zero pad if needed. DayPeriod if used. Might be bad i18n. E.g. "08", "08 AM", "13", "01 PM".

Public methods

fromString

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

getValue

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