Re: [Dhis2-devs-core] Period conversion for ADX

2015-06-10 Thread Morten Olav Hansen
What about DateUtils? We already have DateUtils.parseDate which we use a lod, parseAdxDate? -- Morten On Wed, Jun 10, 2015 at 9:17 PM, Bob Jolliffe bobjolli...@gmail.com wrote: Hi I am just looking at the task of implementing adx data import and the first small thing to tackle is parsing

Re: [Dhis2-devs-core] Period conversion for ADX

2015-06-10 Thread Bob Jolliffe
I was looking at that but I don't think it fits really. I don't so much want to parse a date as to parse a period. So I am thinking of one of two possible methods: 1. Period parseAdxPeriod(String periodString) or 2. String adxPeridToDxf(String periodString) I'd do the first if I am going