Lines Matching refs:date
77 // get the entries for that date
330 // Test against date limit. Since the items are ordered newest to oldest, we can stop comparing
333 DATE lastVisitedTime;
462 /* [in] */ DATE* calendarDates)
477 m_orderedLastVisitedDays = adoptArrayPtr(new DATE[dateCount]);
483 sort(m_orderedLastVisitedDays.get(), m_orderedLastVisitedDays.get() + dateCount, greater<DATE>());
486 DATE));
493 /* [in] */ DATE calendarDate)
705 // Remove the item from date caches before changing its last visited date. Otherwise we might get duplicate entries
718 DATE lastVisited;
803 DATE lastVisitedCOMTime;
808 // other entries already exist for this date
812 // no other entries exist for this date
828 DATE lastVisitedCOMTime;
845 // remove this date entirely if there are no other entries on it
858 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(day, timeZone.get());
859 date.hour = 0;
860 date.minute = 0;
861 date.second = 0;
862 beginningOfDay = CFGregorianDateGetAbsoluteTime(date, timeZone.get());
863 date.day += 1;
864 beginningOfNextDay = CFGregorianDateGetAbsoluteTime(date, timeZone.get());
867 static inline CFAbsoluteTime beginningOfDay(CFAbsoluteTime date)
871 if (!(date >= cachedBeginningOfDay && date < cachedBeginningOfNextDay))
872 getDayBoundaries(date, cachedBeginningOfDay, cachedBeginningOfNextDay);
876 static inline WebHistory::DateKey dateKey(CFAbsoluteTime date)
881 return beginningOfDay(date);
904 DATE entryTime;
914 DATE itemTime;
926 DATE itemTime;
939 DATE itemTime;
959 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(time, timeZone);
960 date.hour = date.minute = 0;
961 date.second = 0.0;
962 CFAbsoluteTime timeInDays = CFGregorianDateGetAbsoluteTime(date, timeZone);
968 // Return a date that marks the age limit for history entries saved to or
972 // get the current date as a CFAbsoluteTime