CalendarField Enum

Definition

Enumerates values returned by several types and taken as a parameter of several types.

public enum CalendarField
type CalendarField = 
Inheritance
CalendarField

Fields

AmPm 9

Field number for get and set indicating whether the HOURis before or after noon.

Date 5

Field number for get and setindicating the day of the month.

DayOfMonth 5

Field number for get and setindicating the day of the month.

DayOfWeek 7

Field number for get and setindicating the day of the week.

DayOfWeekInMonth 8

Field number for get and setindicating the ordinal number of the day of the week within the current month.

DayOfYear 6

Field number for get and setindicating the day number within the current year.

DstOffset 16

Field number for get and setindicating the daylight savings offset in milliseconds.

Era 0

Field number for get and setindicating the era, e.g., AD or BC in the Julian calendar.

Hour 10

Field number for get and setindicating the hour of the morning or afternoon.

HourOfDay 11

Field number for get and setindicating the hour of the day.

Millisecond 14

Field number for get and setindicating the millisecond within the second.

Minute 12

Field number for get and setindicating the minute within the hour.

Month 2

Field number for get and setindicating the month.

Second 13

Field number for get and setindicating the second within the minute.

WeekOfMonth 4

Field number for get and setindicating the week number within the current month.

WeekOfYear 3

Field number for get and setindicating the week number within the current year.

Year 1

Field number for get and setindicating the year.

ZoneOffset 15

Field number for get and setindicating the raw offset from GMT in milliseconds.

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Applies to