DateTimeFormatterSkeletonOptions.Second


public final class DateTimeFormatterSkeletonOptions.Second


Second (numeric). Truncated, not rounded.

Summary

Public fields

static final @NonNull DateTimeFormatterSkeletonOptions.Second

Produces no output.

static final @NonNull DateTimeFormatterSkeletonOptions.Second

As many digits as needed to show the full value.

static final @NonNull DateTimeFormatterSkeletonOptions.Second

Two digits, zero pad if needed.

Public fields

NONE

public static final @NonNull DateTimeFormatterSkeletonOptions.Second NONE

Produces no output.

NUMERIC

public static final @NonNull DateTimeFormatterSkeletonOptions.Second NUMERIC

As many digits as needed to show the full value. E.g. "8", "59".

TWO_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.Second TWO_DIGITS

Two digits, zero pad if needed. E.g. "08", "59".

Public methods

fromString

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

getValue

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