Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
badosz0 committed Mar 1, 2024
1 parent af0c339 commit 055b867
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ HolyTime
.subtract(4, 'minutes')
.isWeekend()

HolyTime.between(
HolyTime.add(HolyTime.startOf('day'), 10_000),
HolyTime.now()
)
HolyTime
.between(
HolyTime.add(HolyTime.startOf('day'), 10_000),
HolyTime.now()
)
.in('hours')

HolyTime.max(1666224000000, HolyTime.next('year'))

Expand Down Expand Up @@ -82,7 +84,7 @@ in(amount: number, unit: HumanUnit): HolyTime
add(time: TimeResolvable, amount: number, unit: HumanUnit): HolyTime;
subtract(time: TimeResolvable, amount: number, unit: HumanUnit): HolyTime;

between(timeA: TimeResolvable, timeB: TimeResolvable): number;
between(timeA: TimeResolvable, timeB: TimeResolvable): HolyDuration;
since(time: TimeResolvable): number;

isLeapYear(time: TimeResolvable): boolean;
Expand Down

0 comments on commit 055b867

Please sign in to comment.