Header menu logo bristlecone

DayLengthCache Type

A cache that may be used in model computation where day lengths
 are continually accessed for the same dates over and over again. Stashes
 each calculated day length per latitude/longitude and time.

Constructors

Constructor Description

DayLengthCache(latitude, longitude, timeZone)

Full Usage: DayLengthCache(latitude, longitude, timeZone)

Parameters:
    latitude : float
    longitude : float
    timeZone : string

Returns: DayLengthCache
latitude : float
longitude : float
timeZone : string
Returns: DayLengthCache

Instance members

Instance member Description

this.GetLight

Full Usage: this.GetLight

Parameters:
Returns: DayLength

Daylight hours

date : DateTime

Returns: DayLength

Type something to start searching.