Brett Smith
d8df34ebaf
reports: Balance.format() accepts None as a format.
2020-05-28 09:03:23 -04:00
Brett Smith
2c44cc8f50
reports: Add Balance.format() method.
2020-05-28 09:03:19 -04:00
Brett Smith
3780c31c59
reports: Add Balance.__eq__() method.
...
It turns out the provided implementation gets us most of the way there,
we just needed to add handling for the special case of zero balances.
Now it's confirmed with tests.
2020-05-28 09:01:00 -04:00
Brett Smith
396173b55d
reports.Balance: Add eq_zero, ge_zero, and le_zero methods.
...
Support for RT#11294.
2020-05-21 23:10:03 -04:00
Brett Smith
1b81375294
reports: Add Balance.__neg__() method.
2020-04-29 14:35:20 -04:00
Brett Smith
68acb86e7e
reports: Add Balance.__str__() method.
2020-04-29 11:37:38 -04:00
Brett Smith
5aa30e5456
reports.core: Start Balance class.
2020-04-12 14:56:00 -04:00