Re: Representing microseconds in DateTime

2016-02-02 Thread Bert Verhees
Just for the record, which medical requirement makes measuring micro-seconds necessary? By the way, ISO allows one or more digits to represent a decimal fraction of a second. I don't have the original standard at hand, but Wikipedia says: https://en.wikipedia.org/wiki/ISO_8601 There is no

Re: [FORGED] Re: Representing microseconds in DateTime

2016-02-02 Thread Bert Verhees
On 02-02-16 11:07, Koray Atalag wrote: Hi Bert, I was saying ISO8601 do support this – it is openEHR that constrains to milliseconds. You are right, you do say that. I don't know if your code supports this, because the ISO-time-string will be converted to a Time-class and must have the

RE: [FORGED] Re: [FORGED] Re: Representing microseconds in DateTime

2016-02-02 Thread Koray Atalag
Cheers, -koray From: openEHR-technical [mailto:openehr-technical-boun...@lists.openehr.org] On Behalf Of Bert Verhees Sent: Tuesday, 2 February 2016 11:18 p.m. To: For openEHR technical discussions Subject: [FORGED] Re: [FORGED] Re: Representing microseconds in DateTime On 02-02-16 11:07, Koray Atalag

RE: [FORGED] Re: Representing microseconds in DateTime

2016-02-02 Thread Koray Atalag
February 2016 10:59 p.m. To: openehr-technical@lists.openehr.org Subject: [FORGED] Re: Representing microseconds in DateTime Just for the record, which medical requirement makes measuring micro-seconds necessary? By the way, ISO allows one or more digits to represent a decimal fraction of a second

Re: Representing microseconds in DateTime

2016-02-02 Thread Thomas Beale
I don't think there is any assumption that [,sss] means there are no microseconds. The field is just called 'fractional_second' and it's a Real (i.e. a float). We just used 'sss' as an arbitrary indicator of fractional seconds (how many 's' do you want ;-) - thomas On 02/02/2016 09:51,

RE: Representing microseconds in DateTime

2016-02-02 Thread Koray Atalag
day, 3 February 2016 12:21 a.m. To: openehr-technical@lists.openehr.org Subject: Re: Representing microseconds in DateTime I don't think there is any assumption that [,sss] means there are no microseconds. The field is just called 'fractional_second' and it's a Real (i.e. a float). We just used 's

Re: Representing microseconds in DateTime

2016-02-02 Thread Thomas Beale
Well, we can change the spec if people find it confusing, but as far as I can see, it doesn't say anything about milliseconds or limiting fractional seconds to 3 places. But if you want to propose a wording change, feel free to raise a PR, we can address it in the next minor release. -

RE: [FORGED] Re: [FORGED] Re: Representing microseconds in DateTime

2016-02-02 Thread Koray Atalag
Of Bert Verhees Sent: Tuesday, 2 February 2016 11:18 p.m. To: For openEHR technical discussions Subject: [FORGED] Re: [FORGED] Re: Representing microseconds in DateTime On 02-02-16 11:07, Koray Atalag wrote: Hi Bert, I was saying ISO8601 do support this - it is openEHR that constrains to milliseconds