FACT++  1.0
double palDat ( double  dju)

Definition at line 82 of file palDat.c.

References eraDat(), eraJd2cal(), id, and PAL__MJD0.

Referenced by palDtt(), and t_dat().

82  {
83  int iy;
84  int im;
85  int id;
86  int status;
87  double fd;
88  double deltat;
89 
90  eraJd2cal( PAL__MJD0, dju,
91  &iy, &im, &id, &fd );
92 
93  status = eraDat( iy, im, id, fd, &deltat );
94  return deltat;
95 }
char id[4]
Definition: FITS.h:71
int eraJd2cal(double dj1, double dj2, int *iy, int *im, int *id, double *fd)
Definition: jd2cal.c:3
int eraDat(int iy, int im, int id, double fd, double *deltat)
Definition: dat.c:3
static const double PAL__MJD0
Definition: palmac.h:96

+ Here is the call graph for this function:

+ Here is the caller graph for this function: