9#ifndef KHOLIDAYS_SUNRISESET_H
10#define KHOLIDAYS_SUNRISESET_H
12#include "kholidays_export.h"
34KHOLIDAYS_EXPORT QTime
utcSunrise(
const QDate &date,
double latitude,
double longitude);
45KHOLIDAYS_EXPORT QTime
utcSunset(
const QDate &date,
double latitude,
double longitude);
58KHOLIDAYS_EXPORT QTime
utcDawn(
const QDate &date,
double latitude,
double longitude);
71KHOLIDAYS_EXPORT QTime
utcDusk(
const QDate &date,
double latitude,
double longitude);
83KHOLIDAYS_EXPORT
bool isPolarDay(
const QDate &date,
double latitude);
bool isPolarTwilight(const QDate &date, double latitude)
Checks whether it is polar twilight on day date at latitude.
QTime utcSunset(const QDate &date, double latitude, double longitude)
Compute the sunset time (UTC) for a date and Earth location.
QTime utcSunrise(const QDate &date, double latitude, double longitude)
Compute the sunrise time (UTC) for a date and Earth location.
bool isPolarDay(const QDate &date, double latitude)
Checks whether it is polar day on day date at latitude.
bool isPolarNight(const QDate &date, double latitude)
Checks whether it is polar night on day date at latitude.
QTime utcDawn(const QDate &date, double latitude, double longitude)
Compute the civil dawn time (UTC) for a date and Earth location.
QTime utcDusk(const QDate &date, double latitude, double longitude)
Compute the civil dawn time (UTC) for a date and Earth location.