Calendar.NumberOfPeriodsInThisDay 属性

定义

获取此 Calendar 对象的当前日期中的周期数。

public:
 property int NumberOfPeriodsInThisDay { int get(); };
int NumberOfPeriodsInThisDay();
public int NumberOfPeriodsInThisDay { get; }
var int32 = calendar.numberOfPeriodsInThisDay;
Public ReadOnly Property NumberOfPeriodsInThisDay As Integer

属性值

Int32

int

当天的周期数;如果当天的周期数未知,则为 – 1。

适用于

另请参阅