[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Statistics in r12501 - still a small problem

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: Sat, 5 Apr 2008 01:08:13 +0200

On Thu, Apr 3, 2008 at 8:48 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>
> > BTW, <nitpicking> which rule do you use to get the week number for the
> > statistics? There are different rules for different countries. US week
> > #12 is not the necessarily the same week as German week #12.
> > </nitpicking>
> > Or does a windows calendar api exist for that?
> >
>
> No, Windows does not provide a function for this. But I think I have it
> done right (apart from the DST issue).
> Check the GetCalendarWeek() method in this file:
>
> http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/src/TortoiseProc/StatGraphDlg.cpp
>
Wow, you have done a great deal of work to get it right. All this
calendar and DST calculations can give you a real headache ....

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-04-05 01:08:25 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.