TimeFormatValues 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.
Enumerates symbolic constants for accessing fields of Time with GetActualMaximum(TimeFormatValues), except WeekNum, which is unsupported and causes that method to throw RuntimeException.
public enum TimeFormatValues
type TimeFormatValues =
- Inheritance
-
TimeFormatValues
Fields
| Name | Value | Description |
|---|---|---|
| Second | 1 | Symbolic constant for accessing the second field. |
| Minute | 2 | Symbolic constant for accessing the minute field. |
| Hour | 3 | Symbolic constant for accessing the hour field. |
| MonthDay | 4 | Symbolic constant for accessing the day-of-month field. |
| Month | 5 | Symbolic constant for accessing the month field. |
| Year | 6 | Symbolic constant for accessing the year field. |
| Weekday | 7 | Symbolic constant for accessing the day-of-week field. |
| YearDay | 8 | Symbolic constant for accessing the day-of-year field. |
| WeekNum | 9 | Symbolic constant for accessing the week-number field. This value is unsupported; passing it to GetActualMaximum(TimeFormatValues) throws |
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.