This commit is contained in:
Luo Xiu 2019-10-17 09:03:31 +08:00
parent 4bb334fda4
commit a15dc76c49
2 changed files with 4 additions and 4 deletions

View File

@ -98,7 +98,7 @@ let t1 = Plan.every("one hour and ten minutes").do { }
let t2 = Plan.every("1 hour, 5 minutes and 10 seconds").do { } let t2 = Plan.every("1 hour, 5 minutes and 10 seconds").do { }
let t3 = Plan.every(.firday).at("9:00 pm").do { } let t3 = Plan.every(.friday).at("9:00 pm").do { }
Period.registerQuantifier("many", for: 100 * 1000) Period.registerQuantifier("many", for: 100 * 1000)
let t4 = Plan.every("many days").do { } let t4 = Plan.every("many days").do { }
@ -281,4 +281,4 @@ Improvements to README and documentation are welcome at all times, whether typos
## Acknowledgement ## Acknowledgement
Inspired by Dan Bader's [schedule](https://github.com/dbader/schedule)! Inspired by Dan Bader's [schedule](https://github.com/dbader/schedule)!

View File

@ -98,7 +98,7 @@ let t1 = Plan.every("one hour and ten minutes").do { }
let t2 = Plan.every("1 hour, 5 minutes and 10 seconds").do { } let t2 = Plan.every("1 hour, 5 minutes and 10 seconds").do { }
let t3 = Plan.every(.firday).at("9:00 pm").do { } let t3 = Plan.every(.friday).at("9:00 pm").do { }
Period.registerQuantifier("many", for: 100 * 1000) Period.registerQuantifier("many", for: 100 * 1000)
let t4 = Plan.every("many days").do { } let t4 = Plan.every("many days").do { }
@ -284,4 +284,4 @@ Schedule 还是一个非常年轻的项目,如果你能帮 Schedule 找到甚
## 致谢 ## 致谢
项目灵感来自 Dan Bader 的 [schedule](https://github.com/dbader/schedule) 项目灵感来自 Dan Bader 的 [schedule](https://github.com/dbader/schedule)