Notification.Metric.FixedDate Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Notification.Metric.FixedDate(LocalDate) |
Creates a FixedDate where the LocalDate will be displayed with FORMAT_AUTOMATIC. |
| Notification.Metric.FixedDate(LocalDate, Int32) |
Creates a FixedDate where the LocalDate will be displayed in the specified formatting option. |
Notification.Metric.FixedDate(LocalDate)
Creates a FixedDate where the LocalDate will be displayed with FORMAT_AUTOMATIC.
[Android.Runtime.Register(".ctor", "(Ljava/time/LocalDate;)V", "", ApiSince=37)]
public FixedDate(Java.Time.LocalDate value);
[<Android.Runtime.Register(".ctor", "(Ljava/time/LocalDate;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedDate : Java.Time.LocalDate -> Android.App.Notification.Metric.FixedDate
Parameters
- value
- LocalDate
- Attributes
Remarks
Creates a FixedDate where the LocalDate will be displayed with FORMAT_AUTOMATIC.
Android reference for android.app.Notification.Metric.FixedDate.FixedDate.
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
Notification.Metric.FixedDate(LocalDate, Int32)
Creates a FixedDate where the LocalDate will be displayed in the specified formatting option.
[Android.Runtime.Register(".ctor", "(Ljava/time/LocalDate;I)V", "", ApiSince=37)]
public FixedDate(Java.Time.LocalDate value, int format);
[<Android.Runtime.Register(".ctor", "(Ljava/time/LocalDate;I)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedDate : Java.Time.LocalDate * int -> Android.App.Notification.Metric.FixedDate
Parameters
- value
- LocalDate
- format
- Int32
Value is one of the following: FORMAT_AUTOMATIC; FORMAT_LONG_DATE; FORMAT_SHORT_DATE
- Attributes
Remarks
Creates a FixedDate where the LocalDate will be displayed in the specified formatting option.
Note that the formatting option might be ignored to make the text fit.
Android reference for android.app.Notification.Metric.FixedDate.FixedDate.
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.