Commit Graph

19 Commits

Author SHA1 Message Date
Gergely Polonkai b981ed1b3b Add gswe_timestamp_new_now_local() and gswe_timestamp_set_now_local()
Fixes #14
2014-08-14 14:59:07 +02:00
Gergely Polonkai 68994b8cb5 Code beautification in GsweTimestamp header 2014-08-14 12:15:27 +02:00
Gergely Polonkai 95e89a4c25 Code beautification 2014-07-08 10:43:54 +02:00
Gergely Polonkai 95face8294 Add function gswe_timestamp_get_sidereal_time() 2014-06-11 15:59:55 +02:00
Gergely Polonkai 07a351c373 Add Universal Time calculation functions
This is required for sidereal time calculations later. get/set Julian
day functions have been renamed to have an _et suffix. Meanwhile, the
old gswe_timestamp_get_julian_day() and gswe_timestamp_set_julian_day()
functions have been deprecated.
2014-06-11 15:41:32 +02:00
Gergely Polonkai b73ac78f17 Moved all GError domains into one global GSWE_ERROR domain 2013-09-27 02:39:24 +02:00
Gergely Polonkai cac67e57e3 Fixed licensing issue
Fixes #2
2013-09-22 18:22:13 +02:00
Gergely Polonkai fbc29dbb2e Added a GError parameter to gswe_timestamp_calculate_gregorian() 2013-09-16 16:14:08 +02:00
Gergely Polonkai 08465d91c3 Continued library documentation.
81% is covered already.
2013-09-16 13:20:53 +02:00
Gergely Polonkai 5c3e05ce56 Added legal headings to all source files. 2013-09-16 09:16:49 +02:00
Gergely Polonkai a57ce7cd2f Finished documenting GsweMomentError and GsweTimestampError 2013-09-11 01:55:35 +02:00
Gergely Polonkai e520c3188b Removed the changed method from GsweMomentClass and GsweTimestampClass 2013-09-11 01:54:36 +02:00
Gergely Polonkai c5294a3155 Marked reserved GObject class slots as private
This stops GTK-Doc from complaining
2013-09-11 01:48:19 +02:00
Gergely Polonkai f65f66fd72 Finalized API
From this on, API (and hopefully ABI) change is very unlikely
2013-09-11 01:08:35 +02:00
Gergely Polonkai 2fe9e524e9 Added some padding members to both GsweMoment and GsweTimestamp
I'd like to keep the ABI as stable as possible. With all the possible
additions in my mind, it is still possible I won't be able to keep it,
even with this much reserved slots.
2013-09-11 00:20:54 +02:00
Gergely Polonkai 5a997cb61d Added method gswe_timestamp_set_gregorian_full() 2013-09-09 10:10:57 +02:00
Gergely Polonkai 3195fa266b Added some documentation to stop GObject introspection and GTK-Doc complaining
Still many missing...
2013-09-05 19:50:57 +02:00
Gergely Polonkai 1c2282324e (split from Astrognome)Modified GsweTimestamp so the time zone must be specified as a double (in hours) 2013-09-01 19:30:27 +02:00
Gergely Polonkai ee60b67eec (split from Astrognome)Added SWE-Glib sources, which currently wraps Swiss Ephemeris function calls 2013-09-01 13:52:18 +02:00