several issues in DvDateTime
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OSHIPpy |
New
|
High
|
Diego Manhães Pinheiro |
Bug Description
Argument magnitudeStatus is missing in the initializer and in the call to the superclass initializer.
magnitude is an derived attribute, so it does not need to appear as an argument in the initializer.
DvDate inherits from DvAbsoluteQuantity and ISO8601DateTime (support package). So it is necessary to implement all methods of both classes, namely:
add, subtract, diff, compare, isStrictlyCompa
asString, year, month, day, hour, minute, second, monthUnknown, dayUnknown, hourUnknown, minuteUnknown, fractionalSecond, hasFractionalSe
Year_valid: valid_year(year)
Month_valid: valid_month(month)
Day_valid: valid_day(year, month, day)
Invariants
Hour_valid: valid_hour(hour, minute, second)
Minute_valid: not minute_unknown implies valid_minute(
Second_valid: not second_unknown implies valid_second(
Fractional_
and valid_fractiona
Partial_
Partial_
Partial_
Partial_
Partial_
Related branches
Changed in oship: | |
importance: | Undecided → High |
milestone: | none → 1.5 |
Changed in oship: | |
assignee: | nobody → Diego Manhães Pinheiro (dmpinheiro) |
affects: | oship → oshippy |
Changed in oshippy: | |
milestone: | 1.5 → none |