CalendarField CalendarField Enum

Definition

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

public enum CalendarField
type CalendarField = 
Inheritance
CalendarFieldCalendarField

Fields

AmPm AmPm 9

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

Date Date 5

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

DayOfMonth DayOfMonth 5

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

DayOfWeek DayOfWeek 7

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

DayOfWeekInMonth DayOfWeekInMonth 8

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

DayOfYear DayOfYear 6

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

DstOffset DstOffset 16

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

Era Era 0

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

Hour Hour 10

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

HourOfDay HourOfDay 11

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

Millisecond Millisecond 14

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

Minute Minute 12

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

Month Month 2

Field number for get and setindicating the month.

Second Second 13

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

WeekOfMonth WeekOfMonth 4

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

WeekOfYear WeekOfYear 3

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

Year Year 1

Field number for get and setindicating the year.

ZoneOffset 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 Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to