DateTimePatternField 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.
Identifies a date-time field for pattern generation and field-name lookup.
public enum DateTimePatternField
type DateTimePatternField =
- Inheritance
-
DateTimePatternField
Fields
| Name | Value | Description |
|---|---|---|
| Era | 0 | Identifies the era field, represented canonically by |
| Year | 1 | Identifies the year field, represented canonically by |
| Quarter | 2 | Identifies the quarter field, represented canonically by |
| Month | 3 | Identifies the month field, represented canonically by |
| WeekOfYear | 4 | Identifies the week-in-year field, represented canonically by |
| WeekOfMonth | 5 | Identifies the week-in-month field, represented canonically by |
| Weekday | 6 | Identifies the weekday field, represented canonically by |
| Day | 7 | Identifies the day field, represented canonically by |
| DayOfYear | 8 | Identifies the day-of-year field, represented canonically by |
| DayOfWeekInMonth | 9 | Identifies the weekday-in-month field, represented canonically by |
| Dayperiod | 10 | Identifies the day-period field, represented canonically by |
| Hour | 11 | Identifies the hour field, represented canonically by |
| Minute | 12 | Identifies the minute field, represented canonically by |
| Second | 13 | Identifies the second field, represented canonically by |
| FractionalSecond | 14 | Identifies the fractional-second field, represented canonically by |
| Zone | 15 | Identifies the time-zone field, represented canonically by |
Remarks
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.