Stephan Eggermont-3 wrote
yes, some more involved surgery seems needed
All points in the OP are fixed [1]. It's hard to show #2 in a script, but
this illustrates #3:
```
desc := MADurationDescription new
addCondition: [ :d | d hours = d minutes ];
addCondition: [ :d | d hours = d days ];
yourself.
duration := '1:02:03:04' asDuration.
desc validate: duration. "Returns a MAMultipleErrors with both failed
conditions instead of stopping validation after the first failure"
```
1.
https://github.com/seandenigris/Magritte3/commit/5f295a5e075a3246b7c7262816…
-----
Cheers,
Sean
--
Sent from:
http://forum.world.st/Magritte-Pier-and-Related-Tools-f115649.html