Re: [Dhis2-devs] weeks calculation

2009-05-13 Thread Bob Jolliffe
-devs] weeks calculation Well Yes this a problem for us. Because we expect to use correctly DHIS [reporting tools for now] and we need to map exactly the periods from the actual system to DHIS. But meanwhile there is a another problem with a lot of empty data on that system

Re: [Dhis2-devs] weeks calculation

2009-05-13 Thread Murodullo Latifov
Hi, It worth looking if java uses DHIS locale or it uses system locale for Calendar. I think if java is not set to use any locale, it will turn to OS locale, if this is the case two machines running DHIS as server with different locales will end up with two different week calculations, if

Re: [Dhis2-devs] weeks calculation

2009-05-12 Thread Orvalho Joaquim Augusto
Well Bob Jolliffe wrote: Hi cave persons 2009/5/11 Murodullo Latifov murodlati...@yahoo.com: How dhis2 calculate the weeks? The first week of a year for example. Weekly periods are calculated based on their start date. If start date of the given week is on the previous year, end date of

Re: [Dhis2-devs] weeks calculation

2009-05-12 Thread Murodullo Latifov
Hi Caveman, - Original Message From: Orvalho Joaquim Augusto orvaq...@gmail.com To: Bob Jolliffe bobjolli...@gmail.com Cc: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Tuesday, May 12, 2009 2:08:43 PM Subject: Re: [Dhis2-devs] weeks calculation Well Yes this a problem for us

Re: [Dhis2-devs] weeks calculation

2009-05-12 Thread Bob Jolliffe
Murodullo Latifov murodlati...@yahoo.com Hi Caveman, - Original Message From: Orvalho Joaquim Augusto orvaq...@gmail.com To: Bob Jolliffe bobjolli...@gmail.com Cc: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Tuesday, May 12, 2009 2:08:43 PM Subject: Re: [Dhis2-devs] weeks

Re: [Dhis2-devs] weeks calculation

2009-05-12 Thread Saptarshi Purkayastha
Joaquim Augusto orvaq...@gmail.com To: Bob Jolliffe bobjolli...@gmail.com Cc: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Tuesday, May 12, 2009 2:08:43 PM Subject: Re: [Dhis2-devs] weeks calculation Well Yes this a problem for us. Because we expect to use correctly DHIS

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Murodullo Latifov
Hi Caveman, - Original Message From: Orvalho Joaquim Augusto orvaq...@gmail.com To: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Monday, May 11, 2009 2:57:42 AM Subject: [Dhis2-devs] weeks calculation I could not find on dhis2 docs so I am asking: How dhis2 calculate the weeks?

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Orvalho Joaquim Augusto
Thanks! That is really usefull. Caveman Murodullo Latifov wrote: Hi Caveman, - Original Message From: Orvalho Joaquim Augusto orvaq...@gmail.com To: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Monday, May 11, 2009 2:57:42 AM Subject: [Dhis2-devs] weeks calculation I could

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Bob Jolliffe
Hi 2009/5/11 Murodullo Latifov murodlati...@yahoo.com: Hi Caveman, - Original Message From: Orvalho Joaquim Augusto orvaq...@gmail.com To: dhis2-devs dhis2-devs@lists.launchpad.net Sent: Monday, May 11, 2009 2:57:42 AM Subject: [Dhis2-devs] weeks calculation I could not find

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Orvalho Joaquim Augusto
Well this comment is interesting. And the question raises from my needs here. I am moving data from a not dhis2 system to dhis2. And we must do it weekly because dhis2 is not yet adopted. I noticed that I had weeks changed on dhis2. And now to adjust to dhis2 I need to know how dhis2 does.

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Bob Jolliffe
Hi Orvalho 2009/5/11 Orvalho Joaquim Augusto orvaq...@gmail.com: Well this comment is interesting. And the question raises from my needs here. I am moving data from a not dhis2 system to dhis2. And we must do it weekly because dhis2 is not yet adopted. I noticed that I had weeks changed on

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Orvalho Joaquim Augusto
Thank for this helpfull ofert. I talk within your words. Bob Jolliffe wrote: Hi Orvalho 2009/5/11 Orvalho Joaquim Augusto orvaq...@gmail.com: Well this comment is interesting. And the question raises from my needs here. I am moving data from a not dhis2 system to dhis2. And we must do it

Re: [Dhis2-devs] weeks calculation

2009-05-11 Thread Orvalho Joaquim Augusto
Ahh.. :-) Thanks Caveman Bob Jolliffe wrote: 2009/5/11 Orvalho Joaquim Augusto orvaq...@gmail.com: Thank for this helpfull ofert. I talk within your words. Bob Jolliffe wrote: Hi Orvalho 2009/5/11 Orvalho Joaquim Augusto orvaq...@gmail.com: Well this comment is interesting. And the