oship-dev team mailing list archive
-
oship-dev team
-
Mailing list archive
-
Message #01597
Activities progress and doubts about DvDate implementation
-
To:
oship-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Diego Manhães Pinheiro <me@xxxxxxxxxxxxxx>
-
Date:
Fri, 12 Nov 2010 00:24:36 -0200
-
User-agent:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; pt-BR; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all again,
First of all, I've seen litte progress on tasks assigned for two months.
So, I ask with great humility: Eduardo and Wagner, do you have any
detail that stuck you on code implementation ?
At the moment, I'm stucked on specific detail about a DvDate object: The
ISO8601 interface defined at openEHR specifications define some rules to
validate a string date. The format must follow the gregorian calendar,
which means that the most old year supported is the 0001 year. In other
hand, the method described on the openEHR specification that validates
an year considers 0000 as a valid year, but the year 0000 doesn't exists
in the gregorian calendar. The ISO 8601 specification supports years
before christ death, but the gregorian calendar don't. So, how could I
fix that ?
The simple solution that I found is don't validate days on
months(because the gregorian calendar don't support it) if is the year 0.
I will be glad on any other better solution. Please, don't throw up the
possibility that I'm wrong on any detail described here. I'm not an ISO
8601 expert, so any idea will help. :)
Thanks in advance.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
iQEcBAEBAgAGBQJM3KVkAAoJEEfarWn4YOc8OmcH/RIdCiTHkek13CFdkdp0vDKy
LfpalWhd+PTBhBa7NyxwLVWwAJ/H/Tq7aafdPr0I0l1nW9dxf+nZ3drrM7/m4VmH
KEG28sirVxTdB+aSxwvQZaYHFBNq5xc/oCkdMjzP7wK0Bb+wGIukjq+adiR3fWFu
G5XSi+Fcq7EXdpYvOOMkIzsnOUR+L5pKSFl4xc6Nn12sQsTyBnZOV3MR6sOdldbg
Ozw6SicIrnymVLx58iC5D8tZO/H0yYzVlwILWvw1ClP8b0ry0izMkUJ+nyc3cxBk
DWewo55+U1xTpxlZUuus7nD++Te3dajIFekJv8QHxye9cHYebm9KmyzJjvhNej8=
=fquT
-----END PGP SIGNATURE-----
Follow ups