doug-martin/date-extended

2014-04-01 22:34:07
✓8.0
✓9.0
✓10.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓25.0
✓26.0
✓27.0
28.0
✓29.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
✓20.0
✓21.0
✓22.0
✓23.0
✓24.0
✓6.0
✓6.0
✓6.0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract
2014-04-01 19:19:37
2013-06-05 16:48:54
✓8.0
✓9.0
✓10.0
20.0
✓21.0
22.0
23.0
24.0
25.0
26.0
27.0
28.0
29.0
14.0
15.0
16.0
17.0
18.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 1..167 ok 37 date-extended: parse: should not parse '' ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 38 date-extended: parse: should throw an error if format is not specified ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 25 date-extended: format: should H:m:s to 6:55:12 ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 31 date-extended: format: should q to 6 ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 34 date-extended: format: should z to CDT ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 35 date-extended: format: should z to GMT-00:00 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 36 date-extended: format: should zY to GMT-00:00 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 37 date-extended: parse: should not parse '' ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 38 date-extended: parse: should throw an error if format is not specified ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 121 date-extended: getTimezoneName: should return CDT ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 124 date-extended: compare: namespaced: should be 1 ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 125 date-extended: compare: namespaced: should be -1 ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 128 date-extended: compare: extension: should be -1 ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 129 date-extended: add: namespaced: should add 1 year ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 132 date-extended: add: namespaced: should add 30 years ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 118 date-extended: isLeapYear: namespaced: should be false ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 124 date-extended: compare: namespaced: should be 1 ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 157 date-extended: add: extension: when adding days to a date: should add days ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours # tests 167 # pass 167 # fail 0 ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract
2013-06-05 16:37:30
2013-06-05 08:14:54
6.0
7.0
8.0
9.0
10.0
20.0
21.0
22.0
23.0
24.0
25.0
26.0
27.0
28.0
29.0
14.0
15.0
16.0
17.0
18.0
19.0
20.0
21.0
22.0
23.0
24.0
6.0
6.0
6.0
timeout waiting to hear back from iexplore/6.0
2013-04-16 16:46:16
✓6.0
✓7.0
✓8.0
✓9.0
✓10.0
✓20.0
✓22.0
✓24.0
✓25.0
21.0
23.0
26.0
27.0
28.0
29.0
✓14.0
✓15.0
✓16.0
✓17.0
✓18.0
✓19.0
20.0
21.0
22.0
23.0
24.0
✓6.0
✓6.0
✓6.0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract
2013-01-22 07:22:23
6.0
✓7.0
✓8.0
✓9.0
✓4.0
✓23.0
✓canary
3.0
✓3.5
✓3.6
✓4.0
17.0
nightly
5.0.1
5.1
✓10.0
✓10.5
✓11.0
✓11.5
✓11.6
✓12.0
✓next
11.600000000000001
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
1..167 ok 1 date-extended: format: should format EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 2 date-extended: format: should format EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 3 date-extended: format: should format EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 4 date-extended: format: should format M/dd/yy to 8/11/06 ok 5 date-extended: format: should format E to 6 ok 6 date-extended: format: should format h:m a to 12:55 AM ok 7 date-extended: format: should format H:m:s to 12:55:12 ok 8 date-extended: format: should format h:m:s.SS to 12:55:12.35 ok 9 date-extended: format: should format k:m:s.SS to 24:55:12.35 ok 10 date-extended: format: should format K:m:s.SS to 0:55:12.35 ok 11 date-extended: format: should format H:m:s.SS to 0:55:12.35 ok 12 date-extended: format: should format ddMMyyyy to 11082006 ok 13 date-extended: format: should format q to 6 ok 14 date-extended: format: should format w, q formatted to 32, 6 ok 15 date-extended: format: should format D w, q to 223 32, 6 ok 16 date-extended: format: should format z to CDT ok 17 date-extended: format: should format z to GMT-05:00 ok 18 date-extended: format: should format zY to GMT-05:00 ok 19 date-extended: format: should EEEE, MMMM dd, yyyy to Friday, August 11, 2006 ok 20 date-extended: format: should EEEE, MMMM dd, yyyy G to Friday, August 11, 2006 AD ok 21 date-extended: format: should EEEE, MMMM dd, yyyy GGGG to Friday, August 11, 2006 Anno Domini ok 22 date-extended: format: should M/dd/yy to 8/11/06 ok 23 date-extended: format: should E to 6 ok 24 date-extended: format: should h:m a to 5:55 AM ok 25 date-extended: format: should H:m:s to 6:55:12 ok 26 date-extended: format: should h:m:s.SS to 6:55:12.35 ok 27 date-extended: format: should k:m:s.SS to 6:55:12.35 ok 28 date-extended: format: should K:m:s.SS to 5:55:12.35 ok 29 date-extended: format: should H:m:s.SS to 5:55:12.35 ok 30 date-extended: format: should ddMMyyyy to 11082006 ok 31 date-extended: format: should q to 6 ok 32 date-extended: format: should w, q formatted to 32, 6 ok 33 date-extended: format: should D w, q to 223 32, 6 ok 34 date-extended: format: should z to CDT ok 35 date-extended: format: should z to GMT-00:00 ok 36 date-extended: format: should zY to GMT-00:00 ok 37 date-extended: parse: should not parse '' ok 38 date-extended: parse: should throw an error if format is not specified ok 39 date-extended: parse: namespaced: should parse 08/11/06 ok 40 date-extended: parse: namespaced: should not parse 13/11/06 ok 41 date-extended: parse: namespaced: should not parse 02/31/06 ok 42 date-extended: parse: namespaced: should parse 8/11/06 ok 43 date-extended: parse: namespaced: should parse 8/11/2006 ok 44 date-extended: parse: namespaced: should parse 11Aug2006 ok 45 date-extended: parse: namespaced: should not parse 11Ag2006 ok 46 date-extended: parse: namespaced: should parse Aug2006 ok 47 date-extended: parse: namespaced: should parse Aug 11, 2006 ok 48 date-extended: parse: namespaced: should parse August 11, 06 ok 49 date-extended: parse: namespaced: should parse Friday, August 11, 06 ok 50 date-extended: parse: namespaced: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 51 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 52 date-extended: parse: namespaced: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 53 date-extended: parse: namespaced: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 54 date-extended: parse: namespaced: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 55 date-extended: parse: namespaced: should parse format date : 12:55 AM with format : h:m: a ok 56 date-extended: parse: namespaced: should parse format date : 12:55 PM with format : h:m: a ok 57 date-extended: parse: namespaced: should not parse format date : 13:55 AM with format : h:m: a ok 58 date-extended: parse: namespaced: should parse format date : 12:55:12 with format : h:m:s ok 59 date-extended: parse: namespaced: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 60 date-extended: parse: namespaced: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 61 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 62 date-extended: parse: namespaced: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 63 date-extended: parse: namespaced: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 64 date-extended: parse: namespaced: should parse format date : 223 32, 6 with format: D w, q ok 65 date-extended: parse: namespaced: should parse format date : 223T32,T6 with format: DTw,Tq ok 66 date-extended: parse: extension: should parse 08/11/06 ok 67 date-extended: parse: extension: should not parse 13/11/06 ok 68 date-extended: parse: extension: should not parse 02/31/06 ok 69 date-extended: parse: extension: should parse 8/11/06 ok 70 date-extended: parse: extension: should parse 8/11/2006 ok 71 date-extended: parse: extension: should parse 11Aug2006 ok 72 date-extended: parse: extension: should not parse 11Ag2006 ok 73 date-extended: parse: extension: should parse Aug2006 ok 74 date-extended: parse: extension: should parse Aug 11, 2006 ok 75 date-extended: parse: extension: should parse August 11, 06 ok 76 date-extended: parse: extension: should parse Friday, August 11, 06 ok 77 date-extended: parse: extension: should parse format date : 6, August 11, 2006 with format : E, MMMM dd, yyyy ok 78 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 AD with format : EEEE, MMMM dd, yyyy G ok 79 date-extended: parse: extension: should parse format date : Friday, August 11, 2006 Anno Domini with format : EEEE, MMMM dd, yyyy GGGG ok 80 date-extended: parse: extension: should parse format date : Fri, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 81 date-extended: parse: extension: should not parse format date : Fr, August 11, 2006 Anno Domini with format : EEE, MMMM dd, yyyy GGGG ok 82 date-extended: parse: extension: should parse format date : 12:55 AM with format : h:m: a ok 83 date-extended: parse: extension: should parse format date : 12:55 PM with format : h:m: a ok 84 date-extended: parse: extension: should not parse format date : 13:55 AM with format : h:m: a ok 85 date-extended: parse: extension: should parse format date : 12:55:12 with format : h:m:s ok 86 date-extended: parse: extension: should parse format date : 12:55:12.35 with format : h:m:s.SS ok 87 date-extended: parse: extension: should parse format date : 24:55:12.35 with format : k:m:s.SS ok 88 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : K:m:s.SS ok 89 date-extended: parse: extension: should not parse format date : 24:55:12.35 with format : K:m:s.SS ok 90 date-extended: parse: extension: should parse format date : 0:55:12.35 with format : H:m:s.SS ok 91 date-extended: parse: extension: should parse format date : 223 32, 6 with format: D w, q ok 92 date-extended: parse: extension: should parse format date : 223T32,T6 with format: DTw,Tq ok 93 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in january ok 94 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in february ok 95 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in march ok 96 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in april ok 97 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in may ok 98 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in june ok 99 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in july ok 100 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in august ok 101 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in september ok 102 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in october ok 103 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in november ok 104 date-extended: getDaysInMonth: namespaced: should detrmine the number of days in december ok 105 date-extended: getDaysInMonth: extension: should detrmine the number of days in january ok 106 date-extended: getDaysInMonth: extension: should detrmine the number of days in february ok 107 date-extended: getDaysInMonth: extension: should detrmine the number of days in march ok 108 date-extended: getDaysInMonth: extension: should detrmine the number of days in april ok 109 date-extended: getDaysInMonth: extension: should detrmine the number of days in may ok 110 date-extended: getDaysInMonth: extension: should detrmine the number of days in june ok 111 date-extended: getDaysInMonth: extension: should detrmine the number of days in july ok 112 date-extended: getDaysInMonth: extension: should detrmine the number of days in august ok 113 date-extended: getDaysInMonth: extension: should detrmine the number of days in september ok 114 date-extended: getDaysInMonth: extension: should detrmine the number of days in october ok 115 date-extended: getDaysInMonth: extension: should detrmine the number of days in november ok 116 date-extended: getDaysInMonth: extension: should detrmine the number of days in december ok 117 date-extended: isLeapYear: namespaced: should be true ok 118 date-extended: isLeapYear: namespaced: should be false ok 119 date-extended: isLeapYear: extension: should be true ok 120 date-extended: isLeapYear: extension: should be false ok 121 date-extended: getTimezoneName: should return CDT ok 122 date-extended: getTimezoneName: should return CDT ok 123 date-extended: compare: namespaced: should be 0 ok 124 date-extended: compare: namespaced: should be 1 ok 125 date-extended: compare: namespaced: should be -1 ok 126 date-extended: compare: extension: should be 0 ok 127 date-extended: compare: extension: should be 1 ok 128 date-extended: compare: extension: should be -1 ok 129 date-extended: add: namespaced: should add 1 year ok 130 date-extended: add: namespaced: should add -1 years ok 131 date-extended: add: namespaced: should add 5 years ok 132 date-extended: add: namespaced: should add 30 years ok 133 date-extended: add: namespaced: should add 35 years ok 134 date-extended: add: namespaced: when adding quarters to a date: should add 1 quarter ok 135 date-extended: add: namespaced: when adding quarters to a date: should add 3 quarters ok 136 date-extended: add: namespaced: when adding quarters to a date: should add 4 quarters ok 137 date-extended: add: namespaced: when adding months to a date: should add 1 month ok 138 date-extended: add: namespaced: when adding months to a date: should add 4 months ok 139 date-extended: add: namespaced: when adding weeks to a date: should add 1 week ok 140 date-extended: add: namespaced: when adding days to a date: should add days ok 141 date-extended: add: namespaced: when adding weekdays to a date: should add weekdays ok 142 date-extended: add: namespaced: when adding hours to a date: should add hours ok 143 date-extended: add: namespaced: when adding minutes to a date: should add minutes ok 144 date-extended: add: namespaced: when adding seconds to a date: should add seconds ok 145 date-extended: add: namespaced: when adding milliseconds to a date: should add milliseconds ok 146 date-extended: add: extension: should add 1 year ok 147 date-extended: add: extension: should add -1 years ok 148 date-extended: add: extension: should add 5 years ok 149 date-extended: add: extension: should add 30 years ok 150 date-extended: add: extension: should add 35 years ok 151 date-extended: add: extension: when adding quarters to a date: should add 1 quarter ok 152 date-extended: add: extension: when adding quarters to a date: should add 3 quarters ok 153 date-extended: add: extension: when adding quarters to a date: should add 4 quarters ok 154 date-extended: add: extension: when adding months to a date: should add 1 month ok 155 date-extended: add: extension: when adding months to a date: should add 4 months ok 156 date-extended: add: extension: when adding weeks to a date: should add 1 week ok 157 date-extended: add: extension: when adding days to a date: should add days ok 158 date-extended: add: extension: when adding weekdays to a date: should add weekdays ok 159 date-extended: add: extension: when adding hours to a date: should add hours ok 160 date-extended: add: extension: when adding minutes to a date: should add minutes ok 161 date-extended: add: extension: when adding seconds to a date: should add seconds ok 162 date-extended: add: extension: when adding milliseconds to a date: should add milliseconds ok 163 date-extended: when finding the difference: namespaced: should find the difference ok 164 date-extended: when finding the difference: extension: should find the difference ok 165 date-extended: when finding the diff/add: find the diff/add: should namespaced ok 166 date-extended: when finding the diff/add: find the diff/add: should extension ok 167 date-extended: when using convenice methods *fromNow *ago: should add/subtract # tests 167 # pass 167 # fail 0
opera/10.5