Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

static string Impala::Application::TagsLife::Tag::flickrWeekToString ( int  flickrweek  )  [inline, static]

Definition at line 77 of file Tag.h.

References formatDate().

Referenced by Impala::Application::TagsLife::TagsWeekPlot::WeekWndMouseEvent(), and Impala::Application::TagsLife::TagsWeekBarPlot::WeekWndMouseEvent().

00077                                                      {
00078         static time_t FLICKR_EPOCH = 1072933200;
00079         static time_t MS_IN_WEEK = 604800;
00080         time_t start = FLICKR_EPOCH + flickrweek*MS_IN_WEEK;
00081         time_t end = start + 0.86*MS_IN_WEEK; // 0.86 ~ 6/7
00082         string txt = formatDate(&start) + " - " + formatDate(&end);
00083         return txt;
00084     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:16:23 2011 for ImpalaSrc by  doxygen 1.5.1