Wolfram Language & System 10.3 (2015)|Legacy Documentation
This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)
- DaylightQ makes use of $GeoLocation and $TimeZone to determine your location and time zone.
- Locations can be specified as Entity objects, assuming they represent objects with geographic coordinates or GeoGraphics primitives, or they can be latitude/longitude pairs, assuming degrees as units.
- Dates can be specified as a DateObject or as a string that resolves to a date.
- locationspec and datespec can be either individual items or lists of them.
- If datespec is a list of dates, then the results will contain EventSeries objects.
- datespec can be specified as for compatibility with DateRange specifications.
- DaylightQ[…,inclusionspec] is used to specify how much of the locationspec must be in daylight.
- Possible settings for inclusionspec include:
"Everywhere" all of the locationspec must be in daylight "Somewhere" some of the locationspec must be in daylight "Nowhere" none of the locationspec must be in daylight
- DaylightQ can accept the following option:
"SunAngleTest" (#>0&) function applied to the Sun altitude angle to determine if it is daylight
Introduced in 2014