Calendar.NumberOfHoursInThisPeriod Calendar.NumberOfHoursInThisPeriod Calendar.NumberOfHoursInThisPeriod Calendar.NumberOfHoursInThisPeriod Calendar.NumberOfHoursInThisPeriod Property

Definition

Gets the number of hours in the current day period of this Calendar object.

public : int NumberOfHoursInThisPeriod { get; }
int32_t NumberOfHoursInThisPeriod();
public int NumberOfHoursInThisPeriod { get; }
Public ReadOnly Property NumberOfHoursInThisPeriod As int
var int = calendar.numberOfHoursInThisPeriod;
Property Value
int int int

The number of hours in the current day period, or – 1 if the number of hours in the current day period is unknown.