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 [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
String, if it is not a timestamp.
On Wed, Dec 7, 2011 at 9:55 AM, Nicolas Anquetil <[hidden email]> wrote:
-- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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" <[hidden email]> _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 <[hidden email]> wrote:
-- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Nicolas Anquetil
On Wed, Dec 7, 2011 at 2:59 PM, Nicolas Anquetil <[hidden email]> wrote:
If you want to do specifically that, so you should use a #String.
-- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |