Documentation
1
2
3
4
5
6
7
8
9
use jiff::civil::Date;

use crate::PaymentDate;

impl PaymentDate for Date {
    fn days_since(self, other: Self) -> i32 {
        (self - other).get_days()
    }
}