Język

FixedDateFormat Enum

Definition

public enum FixedDateFormat
type FixedDateFormat = 
Inheritance
FixedDateFormat

Fields

Name Value Description
Automatic 0

Formatting option. The system will decide how to format the date, and whether to omit any pieces, depending on available space, the relationship between the LocalDate and the current date, etc.

Android reference for android.app.Notification.Metric.FixedDate.FORMAT_AUTOMATIC.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

LongDate 1

Formatting option. The date will be shown in a longer format, e.g. "Aug 13 2025" (according to the device's locale).

Android reference for android.app.Notification.Metric.FixedDate.FORMAT_LONG_DATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

ShortDate 2

Formatting option. The date will be shown in a shorter format, e.g. "13/8/25" (according to the device's locale).

Android reference for android.app.Notification.Metric.FixedDate.FORMAT_SHORT_DATE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to