TimeDifferenceFormat Enum
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.
Selects adaptive-unit or chronometer-style rendering for a notification time difference.
public enum TimeDifferenceFormat
type TimeDifferenceFormat =
- Inheritance
-
TimeDifferenceFormat
Fields
| Name | Value | Description |
|---|---|---|
| Adaptive | 1 | Formatting option: adaptive (e.g. 1h 5m; 15m; 1m 30s; 5s). Android reference for 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. |
| Chronometer | 2 | Formatting option: chronometer-style, (e.g. two hours = "2:00:00"). Android reference for 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. |
Remarks
The format does not select timer versus stopwatch behavior or running versus paused state; those choices come from the metric factory.