dateSplits.js 506 B

1234567891011121314151617181920212223242526
  1. 'use strict';
  2. var dateSplits = {
  3. 4: [
  4. // for length-4 strings, eg 1191 or 9111, two ways to split:
  5. [1, 2], [2, 3] // 91 1 1
  6. ],
  7. 5: [[1, 3], [2, 3],
  8. // [2, 3], // 91 1 11 <- duplicate previous one
  9. [2, 4] // 91 11 1 <- New and must be added as bug fix
  10. ],
  11. 6: [[1, 2], [2, 4], [4, 5] // 1991 1 1
  12. ],
  13. // 1111991
  14. 7: [[1, 3], [2, 3], [4, 5], [4, 6] // 1991 11 1
  15. ],
  16. 8: [[2, 4], [4, 6] // 1991 11 11
  17. ]
  18. };
  19. module.exports = dateSplits;
  20. //# sourceMappingURL=dateSplits.js.map