37 check("in a few days", 259200); |
37 check("in a few days", 259200); |
38 |
38 |
39 check("next week", 604800); |
39 check("next week", 604800); |
40 check("next year", 31536000); |
40 check("next year", 31536000); |
41 |
41 |
|
42 check("monday", 345600); |
|
43 check("Monday", 345600); |
|
44 check("tuesday", 432000); |
|
45 check("wednesday", 518400); |
|
46 check("thursday", 604800); |
|
47 check("friday", 86400); |
|
48 check("the friday after tomorrow", 691200); |
|
49 check("the friday morning after tomorrow", 721800) |
|
50 check("the friday afternoon after tomorrow", 736200) |
|
51 |
42 if all_ok then |
52 if all_ok then |
43 print("OK"); |
53 print("OK"); |
44 end |
54 end |