语言

Calendar.WeekOfMonth 字段

定义

注意

This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.

字段编号 get ,指示 set 当前月份中的周数。

[Android.Runtime.Register("WEEK_OF_MONTH")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)]
public const Java.Util.CalendarField WeekOfMonth = 4;
[<Android.Runtime.Register("WEEK_OF_MONTH")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.CalendarField enum directly instead of this field.", true)>]
val mutable WeekOfMonth : Java.Util.CalendarField

字段值

Value = 4
特性

注解

字段编号 get ,指示 set 当前月份中的周数。 本月的第一周,由值 1 定义 getFirstDayOfWeek() ,值为 getMinimalDaysInFirstWeek()1。 子类定义月份第一周前几天的值 WEEK_OF_MONTH 。

Java文档java.util.Calendar.WEEK_OF_MONTH。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

另请参阅