File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 509509 (is (not (j/not-before? fc fc+1000)))))
510510
511511 (testing " fields"
512- (is (j/after? (j/day-of-week :saturday ) :thursday ))
513- (is (j/before? (j/day-of-week :saturday ) :sunday ))
512+ (let [thursday (j/day-of-week :thursday )
513+ saturday (j/day-of-week :saturday )
514+ sunday (j/day-of-week :sunday )]
515+ (is (j/after? saturday thursday))
516+ (is (not (j/after? thursday saturday)))
517+ (is (j/before? saturday sunday))
518+ (is (not (j/before? sunday saturday)))
519+ (is (j/not-after? saturday saturday))
520+ (is (j/not-after? saturday sunday))
521+ (is (not (j/not-after? sunday saturday)))
522+ (is (j/not-before? saturday saturday))
523+ (is (j/not-before? sunday saturday))
524+ (is (not (j/not-before? saturday sunday))))
514525
515526 (is (j/after? (j/month :february ) :january ))
516527 (is (j/before? (j/month :february ) :march ))
You can’t perform that action at this time.
0 commit comments