mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
add asset trends in statistics & analysis (#314)
This commit is contained in:
@@ -282,6 +282,10 @@ class MomentDateTime implements DateTime {
|
||||
return this.instance.utcOffset();
|
||||
}
|
||||
|
||||
public getDateTimeAfterDays(days: number): DateTime {
|
||||
return MomentDateTime.of(this.instance.clone().add(days, 'days'));
|
||||
}
|
||||
|
||||
public toGregorianCalendarYearMonthDay(): YearMonthDay {
|
||||
return {
|
||||
year: this.instance.year(),
|
||||
|
||||
Reference in New Issue
Block a user