geostat/common.h

10 wiersze
314 B
C++

#pragma once
#include "cache.h"
void show_histogram(Caches* cc, std::string Cache::*ptr, std::string caption, bool html = 0, bool sort_by_val = 1);
bool same_day(const std::tm& a, const std::tm& b);
void next_day(std::tm& a);
int find_streak(const std::multimap<std::time_t, const Cache*>& cc, std::tm& start);