| julian_day.h | | julian_day.h | |
| | | | |
| skipping to change at line 22 | | skipping to change at line 22 | |
| * You should have received a copy of the GNU General Public License | | * You should have received a copy of the GNU General Public License | |
| * along with this program; if not, write to the Free Software | | * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | |
| * | | * | |
| * Copyright (C) 2000 - 2005 Liam Girdwood | | * Copyright (C) 2000 - 2005 Liam Girdwood | |
| */ | | */ | |
| | | | |
| #ifndef _LN_JULIAN_DAY_H | | #ifndef _LN_JULIAN_DAY_H | |
| #define _LN_JULIAN_DAY_H | | #define _LN_JULIAN_DAY_H | |
| | | | |
|
| | | #ifdef __WIN32 | |
| | | #define __WIN32__ | |
| | | #endif | |
| | | | |
| | | #ifndef __WIN32__ | |
| #include <time.h> | | #include <time.h> | |
|
| | | #endif | |
| #include <libnova/ln_types.h> | | #include <libnova/ln_types.h> | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" { | | extern "C" { | |
| #endif | | #endif | |
| | | | |
| /*! \defgroup calendar General Calendar Functions | | /*! \defgroup calendar General Calendar Functions | |
| */ | | */ | |
| | | | |
| /*! \fn double ln_get_julian_day (struct ln_date * date) | | /*! \fn double ln_get_julian_day (struct ln_date * date) | |
| | | | |
| skipping to change at line 48 | | skipping to change at line 54 | |
| /*! \fn void ln_get_date (double JD, struct ln_date * date) | | /*! \fn void ln_get_date (double JD, struct ln_date * date) | |
| * \ingroup calendar | | * \ingroup calendar | |
| * \brief Calculate the date from the julian day. | | * \brief Calculate the date from the julian day. | |
| */ | | */ | |
| void ln_get_date (double JD, struct ln_date * date); | | void ln_get_date (double JD, struct ln_date * date); | |
| | | | |
| /*! \fn void ln_get_date_from_timet (time_t * t, struct ln_date * date) | | /*! \fn void ln_get_date_from_timet (time_t * t, struct ln_date * date) | |
| * \\ingroup calendar | | * \\ingroup calendar | |
| * \brief Set date from system time | | * \brief Set date from system time | |
| */ | | */ | |
|
| | | #ifndef __WIN32__ | |
| void ln_get_date_from_timet (time_t * t, struct ln_date * date); | | void ln_get_date_from_timet (time_t * t, struct ln_date * date); | |
|
| | | #endif | |
| | | | |
| /*! \fn void ln_get_date_from_tm (struct tm * t, struct ln_date * date) | | /*! \fn void ln_get_date_from_tm (struct tm * t, struct ln_date * date) | |
| * \\ingroup calendar | | * \\ingroup calendar | |
| * \brief Set date from system tm structure | | * \brief Set date from system tm structure | |
| */ | | */ | |
| void ln_get_date_from_tm (struct tm * t, struct ln_date * date); | | void ln_get_date_from_tm (struct tm * t, struct ln_date * date); | |
| | | | |
| /*! \fn void ln_get_local_date (double JD, struct ln_zonedate * zonedate) | | /*! \fn void ln_get_local_date (double JD, struct ln_zonedate * zonedate) | |
| * \ingroup calender | | * \ingroup calender | |
| * \brief Calculate the zone date from the Julian day | | * \brief Calculate the zone date from the Julian day | |
| | | | |
| skipping to change at line 84 | | skipping to change at line 92 | |
| /*! \fn void ln_get_date_from_sys (struct ln_date * date) | | /*! \fn void ln_get_date_from_sys (struct ln_date * date) | |
| * \brief Calculate date from system date | | * \brief Calculate date from system date | |
| * \ingroup calendar | | * \ingroup calendar | |
| */ | | */ | |
| void ln_get_date_from_sys (struct ln_date * date); | | void ln_get_date_from_sys (struct ln_date * date); | |
| | | | |
| /*! \fn double ln_get_julian_from_timet (time_t * time) | | /*! \fn double ln_get_julian_from_timet (time_t * time) | |
| * \brief Calculate julian day from time_t | | * \brief Calculate julian day from time_t | |
| * \ingroup calendar | | * \ingroup calendar | |
| */ | | */ | |
|
| | | #ifndef __WIN32__ | |
| double ln_get_julian_from_timet (time_t * in_time); | | double ln_get_julian_from_timet (time_t * in_time); | |
|
| | | #endif | |
| | | | |
| /*! \fn void ln_get_timet_from_julian (double JD, time_t * in_time) | | /*! \fn void ln_get_timet_from_julian (double JD, time_t * in_time) | |
| * \brief Calculate time_t from julian day | | * \brief Calculate time_t from julian day | |
| * \ingroup calendar | | * \ingroup calendar | |
| */ | | */ | |
|
| | | #ifndef __WIN32__ | |
| void ln_get_timet_from_julian (double JD, time_t * in_time); | | void ln_get_timet_from_julian (double JD, time_t * in_time); | |
|
| | | #endif | |
| | | | |
| /*! \fn double ln_get_julian_local_date(struct ln_zonedate* zonedate) | | /*! \fn double ln_get_julian_local_date(struct ln_zonedate* zonedate) | |
| * \brief Calculate Julian day from local date | | * \brief Calculate Julian day from local date | |
| * \ingroup calendar | | * \ingroup calendar | |
| */ | | */ | |
| double ln_get_julian_local_date(struct ln_zonedate* zonedate); | | double ln_get_julian_local_date(struct ln_zonedate* zonedate); | |
| | | | |
| /*! \fn int ln_get_date_from_mpc (struct ln_date* date, char* mpc_date) | | /*! \fn int ln_get_date_from_mpc (struct ln_date* date, char* mpc_date) | |
| * \brief Calculate the local date from the a MPC packed date. | | * \brief Calculate the local date from the a MPC packed date. | |
| * \ingroup calendar | | * \ingroup calendar | |
| | | | |
End of changes. 8 change blocks. |
| 0 lines changed or deleted | | 12 lines changed or added | |
|
| libnova.h | | libnova.h | |
| | | | |
| skipping to change at line 19 | | skipping to change at line 19 | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| * | | * | |
| * You should have received a copy of the GNU General Public License | | * You should have received a copy of the GNU General Public License | |
| * along with this program; if not, write to the Free Software | | * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, U
SA. | |
| * | | * | |
| * Copyright (C) 2000 - 2005 Liam Girdwood | | * Copyright (C) 2000 - 2005 Liam Girdwood | |
| */ | | */ | |
| | | | |
|
| | | #define LIBNOVA_VERSION "0.12.2" | |
| | | | |
| /*! \mainpage libnova | | /*! \mainpage libnova | |
| * \image html libnova-logo.jpg | | * \image html libnova-logo.jpg | |
| * Celestial Mechanics, Astrometry and Astrodynamics Library | | * Celestial Mechanics, Astrometry and Astrodynamics Library | |
| * | | * | |
| * \section intro Introduction | | * \section intro Introduction | |
| * libnova is a general purpose, double precision, Celestial Mechanics, Astr
ometry and Astrodynamics library. | | * libnova is a general purpose, double precision, Celestial Mechanics, Astr
ometry and Astrodynamics library. | |
| * | | * | |
| * The intended audience of libnova is C / C++ programmers, astronomers and
anyone else interested in calculating positions of astronomical objects or
celestial mechanics. | | * The intended audience of libnova is C / C++ programmers, astronomers and
anyone else interested in calculating positions of astronomical objects or
celestial mechanics. | |
| * libnova is the calculation engine used by the <A href="http://nova.sf.net
">Nova</A> project and most importantly, is free software. | | * libnova is the calculation engine used by the <A href="http://nova.sf.net
">Nova</A> project and most importantly, is free software. | |
| * | | * | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|