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@inria.frwrote:
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@gmail.com *À: *"Moose-related development" moose-dev@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@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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Andre Hora
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev