I wonder if someone know how can I model a DateTime primitive type in properties using UML?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I guess it depends of the format of date …
Please see below an example where I model a date (as UML DataType) with two integers respectively the day and the year and a UML Enumaration named “Month” for the month.
Of course, you can add some parts (UML Property) at the DateTime for the hour, minutes, etc.
You can also choose to model the Month by an integer
Hoping it helps.
