Lines Matching refs:rJD

67   double rJD;      /* The julian day number */  member
240 p->rJD = X1 + X2 + D + B - 1524.5; in computeJD()
244 p->rJD += (p->h*3600.0 + p->m*60.0 + p->s)/86400.0; in computeJD()
246 p->rJD += p->tz*60/86400.0; in computeJD()
322 p->rJD = r; in parseDateOrTime()
328 p->rJD = sqliteAtoF(zDate, 0); in parseDateOrTime()
346 Z = p->rJD + 0.5; in computeYMD()
367 Z = p->rJD + 0.5; in computeHMS()
368 s = (p->rJD + 0.5 - Z)*86400000.0 + 0.5; in computeHMS()
420 t = (x.rJD-2440587.5)*86400.0 + 0.5; in localtimeOffset()
438 return y.rJD - x.rJD; in localtimeOffset()
481 p->rJD += localtimeOffset(p); in parseModifier()
495 p->rJD = p->rJD/86400.0 + 2440587.5; in parseModifier()
502 p->rJD -= c1; in parseModifier()
504 p->rJD += c1 - localtimeOffset(p); in parseModifier()
524 Z = p->rJD + 1.5; in parseModifier()
527 p->rJD += n - Z; in parseModifier()
588 tx.rJD -= 0.5; in parseModifier()
589 day = (int)tx.rJD; in parseModifier()
590 tx.rJD -= day; in parseModifier()
591 if( z[0]=='-' ) tx.rJD = -tx.rJD; in parseModifier()
594 p->rJD += tx.rJD; in parseModifier()
606 p->rJD += r; in parseModifier()
608 p->rJD += r/24.0; in parseModifier()
610 p->rJD += r/(24.0*60.0); in parseModifier()
612 p->rJD += r/(24.0*60.0*60.0); in parseModifier()
624 p->rJD += (r - y)*30.0; in parseModifier()
675 sqlite_set_result_double(context, x.rJD); in juliandayFunc()
815 n = x.rJD - y.rJD; in strftimeFunc()
818 wd = ((int)(x.rJD+0.5)) % 7; in strftimeFunc()
827 case 'J': sprintf(&z[j],"%.16g",x.rJD); j+=strlen(&z[j]); break; in strftimeFunc()
831 sprintf(&z[j],"%d",(int)((x.rJD-2440587.5)*86400.0 + 0.5)); in strftimeFunc()
836 case 'w': z[j++] = (((int)(x.rJD+1.5)) % 7) + '0'; break; in strftimeFunc()