Difference between revisions of "Template:Interval/testcases"
Jump to navigation
Jump to search
imported>MSGJ (→rule = >: +time) |
imported>MSGJ (→Example with timestamp: trim) |
||
| Line 32: | Line 32: | ||
===Example with timestamp=== | ===Example with timestamp=== | ||
| − | |||
| − | |||
Interval is {{interval|n={{CURRENTTIMESTAMP}}|20101114000000|20101124000000|20101126000000|20101207000000}} | Interval is {{interval|n={{CURRENTTIMESTAMP}}|20101114000000|20101124000000|20101126000000|20101207000000}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 14:45, 28 October 2010
rule = >= (default)
{{Interval|n=1|2|4|6}}: 0-1
{{Interval|n=2|2|4|6}}: 1-2
{{Interval|n=3|2|4|6}}: 1-2
{{Interval|n=4|2|4|6}}: 2-3
{{Interval|n=5|2|4|6}}: 2-3
{{Interval|n=6|2|4|6}}: 3-4
{{Interval|n=7|2|4|6}}: 3-4
rule = >
{{Interval|n=1|2|4|6|rule=>}}: 0-1
{{Interval|n=2|2|4|6|rule=>}}: 0-1
{{Interval|n=3|2|4|6|rule=>}}: 1-2
{{Interval|n=4|2|4|6|rule=>}}: 1-2
{{Interval|n=5|2|4|6|rule=>}}: 2-3
{{Interval|n=6|2|4|6|rule=>}}: 2-3
{{Interval|n=7|2|4|6|rule=>}}: 3-4
Example with timestamp
Interval is 4-5