Sha256: ba9b72ced4f339e67075d7b41d2cd8677e851fb11a5ba8cd4b4ffd3c139c5c14

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 Bytes

Contents

Feature: EDTF parses ISO 8601 interval strings
	As a user of edtf-ruby
	I want to parse ISO 8601 interval strings
	
	Scenario Outline: parse intervals
		When I parse the string "<string>"
		Then the interval should start at "<from>"
		And the interval should end at "<to>"
	
	@004 @level0
	Scenarios: specification intervals
		| string                | from       | to         |
		| 1964/2008             | 1964-01-01 | 2008-01-01 |
		| 2004-06/2006-08       | 2004-06-01 | 2006-08-01 |
		| 2004-01-01/2004-01-02 | 2004-01-01 | 2004-01-02 |
		| 2004-02-01/2005-02-08 | 2004-02-01 | 2005-02-08 |
		| 2004-02-01/2005-02    | 2004-02-01 | 2005-02-01 |
		| 2004-02-01/2005       | 2004-02-01 | 2005-01-01 |
		| 2005/2006-02          | 2005-01-01 | 2006-02-01 |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
edtf-0.0.3 features/parser/intervals.feature
edtf-0.0.2 features/parser/intervals.feature
edtf-0.0.1 features/parser/intervals.feature