| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Calendar
Calendar.Time
Calendar.Time.TimeofDay

# Method Calendar.Time.TimeofDay()->number_of_minutes()

Method number_of_minutes

  `Minute minute()`
  `Minute minute(int n)`
  `array(Minute) minutes()`
  `array(Minute) minutes(int first, int last)`
  `int number_of_minutes()`

Description

  minute () gives back the timerange representing the first or nth Minute of the called object. Note that minutes normally starts to count at zero, so `->minute(2)` gives the third minute within the range.

  An Minute is in the Calendar perspective as any other time range not only 60 seconds, but also one of the (normally) 60 minutes of the Hour , precisely.

  minutes () give back an array of all the minutes containing the time periods called. With arguments, it will give back a range of those minutes, in the same enumeration as the n to minute ().

  number_of_minutes () simple counts the number of minutes containing the called time period.