kstars
kstarsdatetime.h
Go to the documentation of this file.
117 inline KStarsDateTime addDays( int nd ) const { return KStarsDateTime( djd() + (long double)nd ); }
static KStarsDateTime fromString(const QString &s)
Definition: kstarsdatetime.cpp:75
bool operator==(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:119
QTime GSTtoUT(dms GST) const
Convert a given Greenwich Sidereal Time to Universal Time (=Greenwich Mean Time). ...
Definition: kstarsdatetime.cpp:176
KStarsDateTime addDays(int nd) const
Modify the Date/Time by adding a number of days.
Definition: kstarsdatetime.h:117
void setDate(const QDate &d)
Assign the Date according to a QDate object.
Definition: kstarsdatetime.cpp:119
void setTime(const QTime &t)
Assign the Time according to a QTime object.
Definition: kstarsdatetime.cpp:133
bool setFromEpoch(double e)
Set the Date/Time from an epoch value, represented as a double.
Definition: kstarsdatetime.cpp:195
bool operator>(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:123
bool operator>=(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:124
static KStarsDateTime currentDateTime(KDateTime::Spec ts=KDateTime::Spec::ClockTime())
Definition: kstarsdatetime.cpp:67
Extension of KDateTime for KStars KStarsDateTime can represent the date/time as a Julian Day...
Definition: kstarsdatetime.h:45
bool operator<(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:121
KStarsDateTime()
Default constructor Creates a date/time at J2000 (noon on Jan 1, 200)
Definition: kstarsdatetime.cpp:26
bool operator!=(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:120
void setDJD(long double jd)
Assign the (long double) Julian Day value, which includes the time of day encoded in the fractional p...
Definition: kstarsdatetime.cpp:99
bool operator<=(const KStarsDateTime &d) const
Definition: kstarsdatetime.h:122
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.