Using the Text Alarm toolbar icon or dock menu item or the Set Alarm From Text menu item one may set an alarm from text. The syntax for time is very simple and flexible. Here are some examples.
Input Text | Equivalent Time |
---|---|
3:14:16 | 3 hours, 14 minutes, and 16 seconds. |
3 14 16 | 3 hours, 14 minutes, and 16 seconds. |
5m | 5 minutes. |
5 m | 5 minutes. |
5 minutes | 5 minutes. |
5 martians!! | 5 minutes. |
0:0:0:0:0:5m | 5 minutes. |
2h 57s | 2 hours and 57 seconds. |
2h 57 | 2 hours and 57 seconds. |
120:57 | 2 hours and 57 seconds. |
7257 | 2 hours and 57 seconds. |
59m 1h 117s | 2 hours and 57 seconds. |
1h 57s 1h | 2 hours and 57 seconds. |
6h | 6 hours. |
6 ahoras | 6 hours. |
That probably suffices to give you an idea of what Fob can handle. For those that would benefit from knowing Fob's exact formal scheme:
Here's an explanation for some of these examples. The 5 martians!! example is 5 minutes because after reading a five the next relevant character read was m, and there are no other numbers to further modify the time. The 6 ahoras example is 6 hours not because Fob knows Spanish but because after reading six the next relevant character is h, so it skips right over the a. The 59m 1h 117s example is 2:00:57 because it reads 59 minutes plus 1 hour plus 117 seconds which winds up as 2:00:57. Similarity, 1h 57s 1h is 1 hour plus 57 seconds plus 1 hour.