I think a timestamp should be better. So, a Number.
<MSEProperty: #birthDateAndTime type: #Number>
On Wed, Dec 7, 2011 at 2:59 PM, Nicolas Anquetil
<nicolas.anquetil(a)inria.fr>wrote;wrote:
but if I want to be able to do that:
anEntity birthDate: '07/12/2011 14:59:00' asDateAndTime .
What do I put in the pragma?
nicolas
------------------------------
*De: *"Andre Hora" <andrehoraa(a)gmail.com>
*À: *"Moose-related development" <moose-dev(a)iam.unibe.ch>
*Envoyé: *Mercredi 7 Décembre 2011 10:39:14
*Objet: *[Moose-dev] Re: date property
String, if it is not a timestamp.
On Wed, Dec 7, 2011 at 9:55 AM, Nicolas Anquetil <
nicolas.anquetil(a)inria.fr> wrote:
what would be the pragma to describe a date property in the meta-model?
birthDate
<MSEProperty: #birthDate type: #???>
Number? (representing the date as a timestamp?)
nicolas
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Andre Hora
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev