@Test
public void toDateSlash() {

    CSLDate d = DateParser.toDate("2013", "Jul/Aug");
    assertArrayEquals(new int[][] { new int[] { 2013, 7 }, new int[] { 2013, 8 } }, d.getDateParts());
    d = DateParser.toDate("2013", "Jan/Aug");
    assertArrayEquals(new int[][] { new int[] { 2013 } }, d.getDateParts());
    d = DateParser.toDate("2013/2014", "Jan/Aug");
    assertArrayEquals(new int[][] { new int[] { 2013 }, new int[] { 2014 } }, d.getDateParts());
}