Skip to content

Commit

Permalink
Added test for demonstrating leap year behaviour (implicit BYMONTHDAY…
Browse files Browse the repository at this point in the history
… rules applied after processing this rule)
  • Loading branch information
benfortuna committed Dec 12, 2018
1 parent e6bf04e commit da211ca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -23,6 +23,6 @@ class ByMonthRuleTest extends Specification {
where:
byMonthPart | dates | valueType | expectedResult
'1,2' | [new Date('20150103')] | Value.DATE | [new Date('20150103'), new Date('20150203')]
'2' | [new DateTime("20200229T000000")] | Value.DATE_TIME| [new DateTime("20210228T000000")]
'2' | [new DateTime("20200229T000000")] | Value.DATE_TIME| [new DateTime("20200229T000000")]
}
}

0 comments on commit da211ca

Please sign in to comment.