several issues in DvTime
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 ISO8601Time (support package). So it is necessary to implement all methods of both classes, namely:
add, subtract, diff, compare, isStrictlyCompa
asString, hour, minute, second, hourUnknown, minuteUnknown, fractionalSecond, hasFractionalSe
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_validity: minute_unknown implies second_unknown
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 |