KHolidays
kholidaysdeclarativeplugin.cpp
42 static Q_INVOKABLE QDateTime utcSunrise(const QDateTime &date, double latitude, double longitude)
80 qmlRegisterUncreatableMetaObject(KHolidays::LunarPhase::staticMetaObject, uri, 1, 0, "LunarPhase", {});
87 qmlRegisterSingletonType(uri, 1, 0, "SunRiseSet", [](QQmlEngine *engine, QJSEngine *) -> QJSValue {
static QString phaseNameAtDate(const QDate &date)
Return the lunar phase as a text string for the specified date.
Definition lunarphase.cpp:19
static Phase phaseAtDate(const QDate &date)
Return the lunar phase for the specified Gregorian date.
Definition lunarphase.cpp:51
static QString phaseName(Phase phase)
Return the string representation of phase.
Definition lunarphase.cpp:24
KHOLIDAYS_EXPORT bool isPolarTwilight(const QDate &date, double latitude)
Checks whether it is polar twilight on day date at latitude.
Definition sunriseset.cpp:224
KHOLIDAYS_EXPORT QTime utcSunset(const QDate &date, double latitude, double longitude)
Compute the sunset time (UTC) for a date and Earth location.
Definition sunriseset.cpp:199
KHOLIDAYS_EXPORT QTime utcSunrise(const QDate &date, double latitude, double longitude)
Compute the sunrise time (UTC) for a date and Earth location.
Definition sunriseset.cpp:194
KHOLIDAYS_EXPORT bool isPolarDay(const QDate &date, double latitude)
Checks whether it is polar day on day date at latitude.
Definition sunriseset.cpp:215
KHOLIDAYS_EXPORT bool isPolarNight(const QDate &date, double latitude)
Checks whether it is polar night on day date at latitude.
Definition sunriseset.cpp:233
KHOLIDAYS_EXPORT QTime utcDawn(const QDate &date, double latitude, double longitude)
Compute the civil dawn time (UTC) for a date and Earth location.
Definition sunriseset.cpp:204
KHOLIDAYS_EXPORT QTime utcDusk(const QDate &date, double latitude, double longitude)
Compute the civil dawn time (UTC) for a date and Earth location.
Definition sunriseset.cpp:209
applicationName
QDate date() const const
QJSValue toScriptValue(const T &value)
QTimeZone utc()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.