DateTimeFormatterSkeletonOptions.FractionalSecond


public final class DateTimeFormatterSkeletonOptions.FractionalSecond


Fractional Second (numeric). Truncates, like other numeric time fields, but in this case to the number of digits specified by the field length.

Summary

Public fields

static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond

Fractional part dropped.

static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond

Fractional part represented as 1 digit.

static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond

Fractional part represented as 2 digits.

static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond

Fractional part represented as 3 digits.

Public fields

NONE

public static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond NONE

Fractional part dropped. Produces no output. E.g. "12" (seconds, without fractions).

NUMERIC_1_DIGIT

public static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond NUMERIC_1_DIGIT

Fractional part represented as 1 digit. E.g. "12.3".

NUMERIC_2_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond NUMERIC_2_DIGITS

Fractional part represented as 2 digits. E.g. "12.34".

NUMERIC_3_DIGITS

public static final @NonNull DateTimeFormatterSkeletonOptions.FractionalSecond NUMERIC_3_DIGITS

Fractional part represented as 3 digits. E.g. "12.345".

Public methods

getValue

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