Home | History | Annotate | Download | only in orig

Lines Matching refs:iJD

13597   sqlite3_int64 iJD; /* The julian day number times 86400000 */
13604 char validJD; /* True (1) if iJD is valid */
13772 p->iJD = (sqlite3_int64)((X1 + X2 + D + B - 1524.5 ) * 86400000);
13775 p->iJD += p->h*3600000 + p->m*60000 + (sqlite3_int64)(p->s*1000);
13777 p->iJD -= p->tz*60000;
13836 if( sqlite3OsCurrentTimeInt64(db->pVfs, &p->iJD)==SQLITE_OK ){
13873 p->iJD = (sqlite3_int64)(r*86400000.0 + 0.5);
13891 Z = (int)((p->iJD + 43200000)/86400000);
13913 s = (int)((p->iJD + 43200000) % 86400000);
14036 t = (time_t)(x.iJD/1000 - 21086676*(i64)10000);
14054 return y.iJD - x.iJD;
14102 p->iJD += localtimeOffset(p, pCtx, &rc);
14112 ** Treat the current value of p->iJD as the number of
14116 p->iJD = (p->iJD + 43200)/86400 + 21086676*(i64)10000000;
14126 p->iJD -= c1;
14128 p->iJD += c1 - localtimeOffset(p, pCtx, &rc);
14150 Z = ((p->iJD + 129600000)/86400000) % 7;
14152 p->iJD += (n - Z)*86400000;
14217 tx.iJD -= 43200000;
14218 day = tx.iJD/86400000;
14219 tx.iJD -= day*86400000;
14220 if( z[0]=='-' ) tx.iJD = -tx.iJD;
14223 p->iJD += tx.iJD;
14236 p->iJD += (sqlite3_int64)(r*86400000.0 + rRounder);
14238 p->iJD += (sqlite3_int64)(r*(86400000.0/24.0) + rRounder);
14240 p->iJD += (sqlite3_int64)(r*(86400000.0/(24.0*60.0)) + rRounder);
14242 p->iJD += (sqlite3_int64)(r*(86400000.0/(24.0*60.0*60.0)) + rRounder);
14254 p->iJD += (sqlite3_int64)((r - y)*30.0*86400000.0 + rRounder);
14263 p->iJD += (sqlite3_int64)((r - y)*365.0*86400000.0 + rRounder);
14302 p->iJD = (sqlite3_int64)(sqlite3_value_double(argv[0])*86400000.0 + 0.5);
14336 sqlite3_result_double(context, x.iJD/86400000.0);
14505 nDay = (int)((x.iJD-y.iJD+43200000)/86400000);
14508 wd = (int)(((x.iJD+43200000)/86400000)%7);
14518 sqlite3_snprintf(20, &z[j],"%.16g",x.iJD/86400000.0);
14526 (i64)(x.iJD/1000 - 21086676*(i64)10000));
14532 z[j++] = (char)(((x.iJD+129600000)/86400000) % 7) + '0';