SunObservationIsDaytime Method
Gets an indication of whether dateTimeOffset occurs
during daylight at place.
Namespace: InnerDrive.GeographyAssembly: InnerDrive.Geography (in InnerDrive.Geography.dll) Version: 5.2.9017.0
public static bool IsDaytime(
IGeoLocatable place,
DateTimeOffset dateTimeOffset
)
- place IGeoLocatable
- The place to use.
- dateTimeOffset DateTimeOffset
- The date and time.
Booleantrue if the place is in daylight at
dateTimeOffset;
otherwise
false.