Contents

init(interval:rating:)

Creates an interval with the specified date and rating.

Declaration

init(interval: DateInterval, rating: Double)

Parameters

  • interval:

    The interval to which the electrical guidance applies.

  • rating:

    The relative impact of using electricity during this period of time.

See Also

Creating a date interval