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

[Top]
Calendar
Calendar.TimeRange

# Method Calendar.TimeRange()->set_size()

Method set_size

  `TimeRange set_size(TimeRange size)`
  `TimeRange set_size(int n, TimeRange size)`

Description

  Gives back a new (or the same, if the size matches) timerange with the new size. If n are given, the resulting size will be n amounts of the given size.

Note

  A negative size is not permitted; a zero one are.