TimeFormatValues 列舉
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列舉符號常數,用於存取 的欄位,GetActualMaximum(TimeFormatValues)唯獨 ,WeekNum該欄位Time不支援,會導致該方法拋出 RuntimeException。
public enum TimeFormatValues
type TimeFormatValues =
- 繼承
-
TimeFormatValues
欄位
| 名稱 | 值 | Description |
|---|---|---|
| Second | 1 | 符號常數用於存取第二個欄位。 |
| Minute | 2 | 符號常數用於存取分鐘場。 |
| Hour | 3 | 符號常數用於存取小時欄位。 |
| MonthDay | 4 | 符號常數用於存取月份日期欄位。 |
| Month | 5 | 符號常數用於存取月份欄位。 |
| Year | 6 | 符號常數用於存取年份欄位。 |
| Weekday | 7 | 符號常數用於存取週數欄位。 |
| YearDay | 8 | 符號常數用於存取年份欄位。 |
| WeekNum | 9 | 符號常數用於存取週數欄位。 此數值無支持;傳給 GetActualMaximum(TimeFormatValues) 傳 |
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。