From 71f5f18da92e655450b3fd209509635576c8f3d6 Mon Sep 17 00:00:00 2001 From: Goun Lee Date: Mon, 2 Mar 2020 16:02:08 +0900 Subject: [PATCH] Fix copyright typose and some cleanup in daterange testcase --- js/test/date/testdatefmt_es_CO.js | 2 +- js/test/date/testdatefmt_lt_LT.js | 2 - js/test/date/testdatefmt_lv_LV.js | 1 - js/test/date/testdatefmt_ms_MY.js | 1 - js/test/daterange/testdatefmtrange_am_ET.js | 4 +- js/test/daterange/testdatefmtrange_ar_SA.js | 18 +- js/test/daterange/testdatefmtrange_as_IN.js | 1 - js/test/daterange/testdatefmtrange_bg_BG.js | 10 +- js/test/daterange/testdatefmtrange_bn_IN.js | 3 +- js/test/daterange/testdatefmtrange_cs_CZ.js | 10 +- js/test/daterange/testdatefmtrange_el_GR.js | 10 +- js/test/daterange/testdatefmtrange_en_GB.js | 30 +- js/test/daterange/testdatefmtrange_en_US.js | 1 - js/test/daterange/testdatefmtrange_es_UY.js | 2 +- js/test/daterange/testdatefmtrange_es_VE.js | 2 +- js/test/daterange/testdatefmtrange_et_EE.js | 6 +- js/test/daterange/testdatefmtrange_fa_IR.js | 8 +- js/test/daterange/testdatefmtrange_fi_FI.js | 6 +- js/test/daterange/testdatefmtrange_ga_IE.js | 10 +- js/test/daterange/testdatefmtrange_gu_IN.js | 1 - .../daterange/testdatefmtrange_ha_Latn_NG.js | 14 +- js/test/daterange/testdatefmtrange_he_IL.js | 10 +- js/test/daterange/testdatefmtrange_hi_IN.js | 3 +- js/test/daterange/testdatefmtrange_hu_HU.js | 10 +- js/test/daterange/testdatefmtrange_id_ID.js | 4 +- js/test/daterange/testdatefmtrange_it_IT.js | 6 +- .../daterange/testdatefmtrange_kk_Cyrl_KZ.js | 10 +- js/test/daterange/testdatefmtrange_kn_IN.js | 3 +- js/test/daterange/testdatefmtrange_ko_KR.js | 7 +- .../daterange/testdatefmtrange_ku_Arab_IQ.js | 7 +- js/test/daterange/testdatefmtrange_lt_LT.js | 10 +- js/test/daterange/testdatefmtrange_lv_LV.js | 10 +- js/test/daterange/testdatefmtrange_mk_MK.js | 10 +- js/test/daterange/testdatefmtrange_ml_IN.js | 4 +- js/test/daterange/testdatefmtrange_mr_IN.js | 3 +- js/test/daterange/testdatefmtrange_ms_MY.js | 7 +- js/test/daterange/testdatefmtrange_nb_NO.js | 8 +- js/test/daterange/testdatefmtrange_nl_NL.js | 6 +- js/test/daterange/testdatefmtrange_or_IN.js | 2 +- js/test/daterange/testdatefmtrange_pa_IN.js | 3 +- js/test/daterange/testdatefmtrange_pl_PL.js | 8 +- js/test/daterange/testdatefmtrange_ro_RO.js | 13 +- js/test/daterange/testdatefmtrange_ru_RU.js | 14 +- js/test/daterange/testdatefmtrange_si_LK.js | 1143 ++++++++--------- js/test/daterange/testdatefmtrange_sk_SK.js | 30 +- js/test/daterange/testdatefmtrange_sl_SI.js | 4 +- js/test/daterange/testdatefmtrange_sq_AL.js | 12 +- .../daterange/testdatefmtrange_sr_Latn_RS.js | 12 +- js/test/daterange/testdatefmtrange_sv_SE.js | 10 +- js/test/daterange/testdatefmtrange_sw_KE.js | 1143 ++++++++--------- js/test/daterange/testdatefmtrange_ta_IN.js | 4 +- js/test/daterange/testdatefmtrange_te_IN.js | 3 +- js/test/daterange/testdatefmtrange_th_TH.js | 2 +- js/test/daterange/testdatefmtrange_tr_TR.js | 15 +- js/test/daterange/testdatefmtrange_uk_UA.js | 12 +- js/test/daterange/testdatefmtrange_ur_IN.js | 3 +- .../daterange/testdatefmtrange_uz_Cyrl_UZ.js | 30 +- .../daterange/testdatefmtrange_uz_Latn_UZ.js | 14 +- js/test/daterange/testdatefmtrange_vi_VN.js | 12 +- 59 files changed, 1328 insertions(+), 1421 deletions(-) diff --git a/js/test/date/testdatefmt_es_CO.js b/js/test/date/testdatefmt_es_CO.js index c52b1cc153..1e3ad67d3a 100644 --- a/js/test/date/testdatefmt_es_CO.js +++ b/js/test/date/testdatefmt_es_CO.js @@ -9,7 +9,7 @@ * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applible law or agreed to in writing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * diff --git a/js/test/date/testdatefmt_lt_LT.js b/js/test/date/testdatefmt_lt_LT.js index 37c7250d5c..59b131e415 100644 --- a/js/test/date/testdatefmt_lt_LT.js +++ b/js/test/date/testdatefmt_lt_LT.js @@ -17,8 +17,6 @@ * limitations under the License. */ - - if (typeof(JulianDate) === "undefined") { var JulianDate = require("../../lib/JulianDate.js"); } diff --git a/js/test/date/testdatefmt_lv_LV.js b/js/test/date/testdatefmt_lv_LV.js index fabc46173f..b2bd75a0d7 100644 --- a/js/test/date/testdatefmt_lv_LV.js +++ b/js/test/date/testdatefmt_lv_LV.js @@ -17,7 +17,6 @@ * limitations under the License. */ - if (typeof(JulianDate) === "undefined") { var JulianDate = require("../../lib/JulianDate.js"); } diff --git a/js/test/date/testdatefmt_ms_MY.js b/js/test/date/testdatefmt_ms_MY.js index 1d7579e1ce..677a09bd6a 100644 --- a/js/test/date/testdatefmt_ms_MY.js +++ b/js/test/date/testdatefmt_ms_MY.js @@ -17,7 +17,6 @@ * limitations under the License. */ - if (typeof(JulianDate) === "undefined") { var JulianDate = require("../../lib/JulianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_am_ET.js b/js/test/daterange/testdatefmtrange_am_ET.js index be67d87e89..cf683fa382 100644 --- a/js/test/daterange/testdatefmtrange_am_ET.js +++ b/js/test/daterange/testdatefmtrange_am_ET.js @@ -4,8 +4,8 @@ * Copyright © 2015-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/js/test/daterange/testdatefmtrange_ar_SA.js b/js/test/daterange/testdatefmtrange_ar_SA.js index 342dd8572d..560f566c6c 100644 --- a/js/test/daterange/testdatefmtrange_ar_SA.js +++ b/js/test/daterange/testdatefmtrange_ar_SA.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed under tar Apacar License, Version 2.0 (tar "License"); - * you may not use this file except in compliance warh tar License. - * You may obtain a copy of tar License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * - * http://www.apacar.org/licensar/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlars required by applicable law or agreed to in wraring, software - * distributed under tar License is distributed on an "AS IS" BASIS, - * WSAHOUT WARRANTISA OR CONDSAIONS OF ANY KIND, eararr exprars or implied. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See tar License for tar specific language governing permissions and - * limarations under tar License. + * See the License for the specific language governing permissions and + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_as_IN.js b/js/test/daterange/testdatefmtrange_as_IN.js index d583023e50..64a3a265e9 100644 --- a/js/test/daterange/testdatefmtrange_as_IN.js +++ b/js/test/daterange/testdatefmtrange_as_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_as_IN.js - test the date range formatter object in Assamese/india * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/js/test/daterange/testdatefmtrange_bg_BG.js b/js/test/daterange/testdatefmtrange_bg_BG.js index b25c2d5353..cf2ff00ca9 100644 --- a/js/test/daterange/testdatefmtrange_bg_BG.js +++ b/js/test/daterange/testdatefmtrange_bg_BG.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wbgh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licensbg/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlbgs required by applicable law or agreed to in wrbging, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WBGHOUT WARRANTIBG OR CONDBGIONS OF ANY KIND, ebgher exprbgs or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limbgations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_bn_IN.js b/js/test/daterange/testdatefmtrange_bn_IN.js index 62078c7aaa..5021bb9be1 100644 --- a/js/test/daterange/testdatefmtrange_bn_IN.js +++ b/js/test/daterange/testdatefmtrange_bn_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_bn_IN.js - test the date range formatter object in Bengali/india * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY Kind, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_cs_CZ.js b/js/test/daterange/testdatefmtrange_cs_CZ.js index a862d8c54e..0cc35bfa71 100644 --- a/js/test/daterange/testdatefmtrange_cs_CZ.js +++ b/js/test/daterange/testdatefmtrange_cs_CZ.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wcsh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenscs/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlcss required by applicable law or agreed to in wrcsing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WCZHOUT WARRANTICZ OR CONDCZIONS OF ANY KIND, ecsher exprcss or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limcsations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_el_GR.js b/js/test/daterange/testdatefmtrange_el_GR.js index 6e8c6beac1..0afe77d2e0 100644 --- a/js/test/daterange/testdatefmtrange_el_GR.js +++ b/js/test/daterange/testdatefmtrange_el_GR.js @@ -4,16 +4,16 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tels file except GR compliance with the License. - * You may obtaGR a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unless required by applicable law or agreed to GR writGRg, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KGRD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * - * See the License for the specific language governGRg permissions and + * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/js/test/daterange/testdatefmtrange_en_GB.js b/js/test/daterange/testdatefmtrange_en_GB.js index 571c44344b..8b2c177e2f 100644 --- a/js/test/daterange/testdatefmtrange_en_GB.js +++ b/js/test/daterange/testdatefmtrange_en_GB.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unenr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unenr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unenr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { @@ -23,24 +23,6 @@ if (typeof(GregorianDate) === "undefined") { if (typeof(DateRngFmt) === "undefined") { var DateRngFmt = require("../../lib/DateRngFmt.js"); } -/* - * testdatefmtrange_en_GB.js - test the date range formatter object in German/Germany - * - * Copyright © 2012-2017, JEDLSoft - * - * Licensed unenr the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed unenr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * See the License for the specific language governing permissions and - * limitations unenr the License. - */ if (typeof(ilib) === "undefined") { var ilib = require("../../lib/ilib.js"); diff --git a/js/test/daterange/testdatefmtrange_en_US.js b/js/test/daterange/testdatefmtrange_en_US.js index 523ae36e56..716f15999f 100644 --- a/js/test/daterange/testdatefmtrange_en_US.js +++ b/js/test/daterange/testdatefmtrange_en_US.js @@ -17,7 +17,6 @@ * limitations under the License. */ - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_es_UY.js b/js/test/daterange/testdatefmtrange_es_UY.js index 50cb7615ee..6eeaca2c84 100644 --- a/js/test/daterange/testdatefmtrange_es_UY.js +++ b/js/test/daterange/testdatefmtrange_es_UY.js @@ -11,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTY OR CONDITIONS OF ANY KIND, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_es_VE.js b/js/test/daterange/testdatefmtrange_es_VE.js index 3481f2babf..d6c75448e2 100644 --- a/js/test/daterange/testdatefmtrange_es_VE.js +++ b/js/test/daterange/testdatefmtrange_es_VE.js @@ -11,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIVE OR CONDITIONS OF ANY KIND, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_et_EE.js b/js/test/daterange/testdatefmtrange_et_EE.js index 33bb3836ac..6cf4a40227 100644 --- a/js/test/daterange/testdatefmtrange_et_EE.js +++ b/js/test/daterange/testdatefmtrange_et_EE.js @@ -6,13 +6,13 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * + * * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/js/test/daterange/testdatefmtrange_fa_IR.js b/js/test/daterange/testdatefmtrange_fa_IR.js index 1205cffcfd..50709b2f68 100644 --- a/js/test/daterange/testdatefmtrange_fa_IR.js +++ b/js/test/daterange/testdatefmtrange_fa_IR.js @@ -6,13 +6,13 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * + * * See the License for the specific language governing permissions and * limitations under the License. */ diff --git a/js/test/daterange/testdatefmtrange_fi_FI.js b/js/test/daterange/testdatefmtrange_fi_FI.js index 9fea5114c9..5513eafee3 100644 --- a/js/test/daterange/testdatefmtrange_fi_FI.js +++ b/js/test/daterange/testdatefmtrange_fi_FI.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unfir the Apache License, Version 2.0 (the "License"); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unfir the License is distributed on an "AS IS" BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unfir the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_ga_IE.js b/js/test/daterange/testdatefmtrange_ga_IE.js index 940c1406f9..c8f488928b 100644 --- a/js/test/daterange/testdatefmtrange_ga_IE.js +++ b/js/test/daterange/testdatefmtrange_ga_IE.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wgah the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licensga/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlgas required by applicable law or agreed to in wrgaing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WIEHOUT WARRANTIIE OR CONDIEIONS OF ANY KIND, egaher exprgas or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limgaations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_gu_IN.js b/js/test/daterange/testdatefmtrange_gu_IN.js index 030c1d5e60..1e8c5898e0 100644 --- a/js/test/daterange/testdatefmtrange_gu_IN.js +++ b/js/test/daterange/testdatefmtrange_gu_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_gu_in.js - test the date range formatter object in Gujrati/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/js/test/daterange/testdatefmtrange_ha_Latn_NG.js b/js/test/daterange/testdatefmtrange_ha_Latn_NG.js index bc9b0e1cf9..60021b4acc 100644 --- a/js/test/daterange/testdatefmtrange_ha_Latn_NG.js +++ b/js/test/daterange/testdatefmtrange_ha_Latn_NG.js @@ -3,22 +3,20 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unuzr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unuzr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unuzr the License. + * limitations under the License. */ - - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_he_IL.js b/js/test/daterange/testdatefmtrange_he_IL.js index 4803e1e67e..60556c8591 100644 --- a/js/test/daterange/testdatefmtrange_he_IL.js +++ b/js/test/daterange/testdatefmtrange_he_IL.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wheh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenshe/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlhes required by applicable law or agreed to in wrheing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WILHOUT WARRANTIIL OR CONDILIONS OF ANY KIND, eheher exprhes or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limheations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_hi_IN.js b/js/test/daterange/testdatefmtrange_hi_IN.js index ed5fde0441..ae27705038 100644 --- a/js/test/daterange/testdatefmtrange_hi_IN.js +++ b/js/test/daterange/testdatefmtrange_hi_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_hi_IN.js - test the date range formatter object in Hindi/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_hu_HU.js b/js/test/daterange/testdatefmtrange_hu_HU.js index 224789e695..d792902b72 100644 --- a/js/test/daterange/testdatefmtrange_hu_HU.js +++ b/js/test/daterange/testdatefmtrange_hu_HU.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance whuh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenshu/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlhus required by applicable law or agreed to in wrhuing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WHUHOUT WARRANTIHU OR CONDHUIONS OF ANY KIND, ehuher exprhus or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limhuations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_id_ID.js b/js/test/daterange/testdatefmtrange_id_ID.js index b9e1aa566c..9808df860c 100644 --- a/js/test/daterange/testdatefmtrange_id_ID.js +++ b/js/test/daterange/testdatefmtrange_id_ID.js @@ -4,8 +4,8 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * diff --git a/js/test/daterange/testdatefmtrange_it_IT.js b/js/test/daterange/testdatefmtrange_it_IT.js index a6a64a4d54..0313492ae5 100644 --- a/js/test/daterange/testdatefmtrange_it_IT.js +++ b/js/test/daterange/testdatefmtrange_it_IT.js @@ -7,11 +7,11 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licensit/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlits required by applicable law or agreed to in writing, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIIT OR CONDITIONS OF ANY KIND, either exprits or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_kk_Cyrl_KZ.js b/js/test/daterange/testdatefmtrange_kk_Cyrl_KZ.js index 7411152dea..fec8b02fef 100644 --- a/js/test/daterange/testdatefmtrange_kk_Cyrl_KZ.js +++ b/js/test/daterange/testdatefmtrange_kk_Cyrl_KZ.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wkk-Cyrlh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenskk-Cyrl/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlkk-Cyrls required by applicable law or agreed to in wrkk-Cyrling, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WKZHOUT WARRANTIKZ OR CONDKZIONS OF ANY KIND, ekk-Cyrlher exprkk-Cyrls or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limkk-Cyrlations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_kn_IN.js b/js/test/daterange/testdatefmtrange_kn_IN.js index 6b9f475197..c941f22c1e 100644 --- a/js/test/daterange/testdatefmtrange_kn_IN.js +++ b/js/test/daterange/testdatefmtrange_kn_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_kn_IN.js - test the date range formatter object in Kannada/india * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_ko_KR.js b/js/test/daterange/testdatefmtrange_ko_KR.js index 075d8a48f9..5d9e341db8 100644 --- a/js/test/daterange/testdatefmtrange_ko_KR.js +++ b/js/test/daterange/testdatefmtrange_ko_KR.js @@ -1,18 +1,17 @@ /* * testdatefmtrange_ko_KR.js - test the date range formatter object in Korean/Korea * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tkos file except in compliance with the License. - * You may obtaiN a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_ku_Arab_IQ.js b/js/test/daterange/testdatefmtrange_ku_Arab_IQ.js index e40fe5f762..6fd7435e3e 100644 --- a/js/test/daterange/testdatefmtrange_ku_Arab_IQ.js +++ b/js/test/daterange/testdatefmtrange_ku_Arab_IQ.js @@ -2,18 +2,17 @@ * testdatefmtrange_ku_Arab_IQ.js - test the date range formatter object in * Kurdish for Iraq in Arabic script * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tkos file except in compliance with the License. - * You may obtaiN a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_lt_LT.js b/js/test/daterange/testdatefmtrange_lt_LT.js index 71fc82badc..5553690029 100644 --- a/js/test/daterange/testdatefmtrange_lt_LT.js +++ b/js/test/daterange/testdatefmtrange_lt_LT.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wlth the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenslt/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unllts required by applicable law or agreed to in wrlting, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WLTHOUT WARRANTILT OR CONDLTIONS OF ANY KIND, elther exprlts or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limltations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_lv_LV.js b/js/test/daterange/testdatefmtrange_lv_LV.js index f7ec7634ce..23061ef9fe 100644 --- a/js/test/daterange/testdatefmtrange_lv_LV.js +++ b/js/test/daterange/testdatefmtrange_lv_LV.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wlvh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenslv/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unllvs required by applicable law or agreed to in wrlving, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WLVHOUT WARRANTILV OR CONDLVIONS OF ANY KIND, elvher exprlvs or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limlvations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_mk_MK.js b/js/test/daterange/testdatefmtrange_mk_MK.js index ae49b64af8..e107efcf3e 100644 --- a/js/test/daterange/testdatefmtrange_mk_MK.js +++ b/js/test/daterange/testdatefmtrange_mk_MK.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wmkh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licensmk/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlmks required by applicable law or agreed to in wrmking, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WMKHOUT WARRANTIMK OR CONDMKIONS OF ANY KIND, emkher exprmks or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limmkations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_ml_IN.js b/js/test/daterange/testdatefmtrange_ml_IN.js index 6a59288c88..c8a60b659a 100644 --- a/js/test/daterange/testdatefmtrange_ml_IN.js +++ b/js/test/daterange/testdatefmtrange_ml_IN.js @@ -12,14 +12,12 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. */ - - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_mr_IN.js b/js/test/daterange/testdatefmtrange_mr_IN.js index 21c8522b42..4088e694ef 100644 --- a/js/test/daterange/testdatefmtrange_mr_IN.js +++ b/js/test/daterange/testdatefmtrange_mr_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_mr_IN.js - test the date range formatter object in Marathi/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_ms_MY.js b/js/test/daterange/testdatefmtrange_ms_MY.js index 17d052e621..0551164522 100644 --- a/js/test/daterange/testdatefmtrange_ms_MY.js +++ b/js/test/daterange/testdatefmtrange_ms_MY.js @@ -1,18 +1,17 @@ /* * testdatefmtrange_ms_MY.js - test the date range formatter object in Malaysian/Malaysia * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use tmss file except in compliance with the License. - * You may obtaiN a copy of the License at + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_nb_NO.js b/js/test/daterange/testdatefmtrange_nb_NO.js index 16d10b6dd6..0b3128c8fa 100644 --- a/js/test/daterange/testdatefmtrange_nb_NO.js +++ b/js/test/daterange/testdatefmtrange_nb_NO.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unNOr the Apache License, Version 2.0 (the "License"); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * Unbess required by applicable law or agreed to in writing, software - * distributed unNOr the License is distributed on an "AS IS" BASIS, + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unNOr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_nl_NL.js b/js/test/daterange/testdatefmtrange_nl_NL.js index cd3c0fcb72..640e7880fd 100644 --- a/js/test/daterange/testdatefmtrange_nl_NL.js +++ b/js/test/daterange/testdatefmtrange_nl_NL.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unNLr the Apache License, Version 2.0 (the "License"); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unNLr the License is distributed on an "AS IS" BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unNLr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_or_IN.js b/js/test/daterange/testdatefmtrange_or_IN.js index d2e8323358..2969e1e516 100644 --- a/js/test/daterange/testdatefmtrange_or_IN.js +++ b/js/test/daterange/testdatefmtrange_or_IN.js @@ -11,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_pa_IN.js b/js/test/daterange/testdatefmtrange_pa_IN.js index 8ce08b9111..978a7693ac 100644 --- a/js/test/daterange/testdatefmtrange_pa_IN.js +++ b/js/test/daterange/testdatefmtrange_pa_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_pa_IN.js - test the date range formatter object in Punjabi/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_pl_PL.js b/js/test/daterange/testdatefmtrange_pl_PL.js index 3ebf828066..7180c238e5 100644 --- a/js/test/daterange/testdatefmtrange_pl_PL.js +++ b/js/test/daterange/testdatefmtrange_pl_PL.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unPLr the Apache License, Version 2.0 (the "License"); + * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * - * Upless required by applicable law or agreed to in writing, software - * distributed unPLr the License is distributed on an "AS IS" BASIS, + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unPLr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_ro_RO.js b/js/test/daterange/testdatefmtrange_ro_RO.js index d3f7519b6d..30d8d5bea1 100644 --- a/js/test/daterange/testdatefmtrange_ro_RO.js +++ b/js/test/daterange/testdatefmtrange_ro_RO.js @@ -3,21 +3,20 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unror the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unror the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unror the License. + * limitations under the License. */ - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_ru_RU.js b/js/test/daterange/testdatefmtrange_ru_RU.js index 67afd8273a..75b628c642 100644 --- a/js/test/daterange/testdatefmtrange_ru_RU.js +++ b/js/test/daterange/testdatefmtrange_ru_RU.js @@ -3,22 +3,20 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unrur the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unrur the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unrur the License. + * limitations under the License. */ - - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_si_LK.js b/js/test/daterange/testdatefmtrange_si_LK.js index fe837f06c7..837c702951 100644 --- a/js/test/daterange/testdatefmtrange_si_LK.js +++ b/js/test/daterange/testdatefmtrange_si_LK.js @@ -1,22 +1,22 @@ -/* - * testdatefmtrange_si_LK.js - test the date range formatter object in Sri Lanka - * - * Copyright © 2017,2017, JEDLSoft - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * See the License for the specific language governing permissions and - * limitations under the License. - */ - +/* + * testdatefmtrange_si_LK.js - test the date range formatter object in Sri Lanka + * + * Copyright © 2017 JEDLSoft + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } @@ -35,657 +35,652 @@ module.exports.testdatefmtrange_si_LK = { testDateRngFmtLKRangeInDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-12-31 13.45 – 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-12-31 13.45 – 14.30"); test.done(); }, testDateRngFmtLKRangeInDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැ 31 13.45 – 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැ 31 13.45 – 14.30"); test.done(); }, testDateRngFmtLKRangeInDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 31 13.45 – 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 31 13.45 – 14.30"); test.done(); }, testDateRngFmtLKRangeInDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 31 13.45 – 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 31 13.45 – 14.30"); test.done(); }, - testDateRngFmtLKRangeNextDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-12-30 13.45 – 2011-12-31 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-12-30 13.45 – 2011-12-31 14.30"); test.done(); }, testDateRngFmtLKRangeNextDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැ 30 13.45 – 2011 දෙසැ 31 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැ 30 13.45 – 2011 දෙසැ 31 14.30"); test.done(); }, testDateRngFmtLKRangeNextDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 30 13.45 – 2011 දෙසැම්බර් 31 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 30 13.45 – 2011 දෙසැම්බර් 31 14.30"); test.done(); }, testDateRngFmtLKRangeNextDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 30 13.45 – 2011 දෙසැම්බර් 31 14.30"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 30 13.45 – 2011 දෙසැම්බර් 31 14.30"); test.done(); }, - testDateRngFmtLKRangeMultiDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-12-20 – 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-12-20 – 31"); test.done(); }, testDateRngFmtLKRangeMultiDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැ 20 – 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැ 20 – 31"); test.done(); }, testDateRngFmtLKRangeMultiDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 20 – 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 20 – 31"); test.done(); }, testDateRngFmtLKRangeMultiDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 20 – 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 දෙසැම්බර් 20 – 31"); test.done(); }, - testDateRngFmtLKRangeNextMonthShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-11-20 – 2011-12-31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-11-20 – 2011-12-31"); test.done(); }, testDateRngFmtLKRangeNextMonthMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැ 20 – 2011 දෙසැ 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැ 20 – 2011 දෙසැ 31"); test.done(); }, testDateRngFmtLKRangeNextMonthLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – දෙසැම්බර් 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – දෙසැම්බර් 31"); test.done(); }, testDateRngFmtLKRangeNextMonthFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – දෙසැම්බර් 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – දෙසැම්බර් 31"); test.done(); }, - testDateRngFmtLKRangeNextYearShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-11-20 – 2012-01-31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-11-20 – 2012-01-31"); test.done(); }, testDateRngFmtLKRangeNextYearMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැ 20 – 2012 ජන 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැ 20 – 2012 ජන 31"); test.done(); }, testDateRngFmtLKRangeNextYearLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – 2012 ජනවාරි 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – 2012 ජනවාරි 31"); test.done(); }, testDateRngFmtLKRangeNextYearFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – 2012 ජනවාරි 31"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් 20 – 2012 ජනවාරි 31"); test.done(); }, - testDateRngFmtLKRangeMultiYearShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011-11 – 2014-01"); + var fmt = new DateRngFmt({locale: "si-LK", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011-11 – 2014-01"); test.done(); }, testDateRngFmtLKRangeMultiYearMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැ – 2014 ජන"); + var fmt = new DateRngFmt({locale: "si-LK", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැ – 2014 ජන"); test.done(); }, testDateRngFmtLKRangeMultiYearLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් – 2014 ජනවාරි"); + var fmt = new DateRngFmt({locale: "si-LK", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් – 2014 ජනවාරි"); test.done(); }, testDateRngFmtLKRangeMultiYearFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 නොවැම්බර් – 2014 ජනවාරි"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 නොවැම්බර් – 2014 ජනවාරි"); test.done(); }, testDateRngFmtLKManyYearsFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2064, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 – 2064"); + var fmt = new DateRngFmt({locale: "si-LK", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2064, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 – 2064"); test.done(); } }; diff --git a/js/test/daterange/testdatefmtrange_sk_SK.js b/js/test/daterange/testdatefmtrange_sk_SK.js index 13eeabff84..02ed2b9843 100644 --- a/js/test/daterange/testdatefmtrange_sk_SK.js +++ b/js/test/daterange/testdatefmtrange_sk_SK.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unskr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unskr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unskr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { @@ -23,24 +23,6 @@ if (typeof(GregorianDate) === "undefined") { if (typeof(DateRngFmt) === "undefined") { var DateRngFmt = require("../../lib/DateRngFmt.js"); } -/* - * testdatefmtrange_sk_SK.js - test the date range formatter object in German/Germany - * - * Copyright © 2012-2017, JEDLSoft - * - * Licensed unskr the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed unskr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * See the License for the specific language governing permissions and - * limitations unskr the License. - */ if (typeof(ilib) === "undefined") { var ilib = require("../../lib/ilib.js"); diff --git a/js/test/daterange/testdatefmtrange_sl_SI.js b/js/test/daterange/testdatefmtrange_sl_SI.js index dc0302b0ca..7d99ab1054 100644 --- a/js/test/daterange/testdatefmtrange_sl_SI.js +++ b/js/test/daterange/testdatefmtrange_sl_SI.js @@ -10,11 +10,11 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unslr the License is distributed on an "AS IS" BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unslr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_sq_AL.js b/js/test/daterange/testdatefmtrange_sq_AL.js index 0360378f91..691e060b3a 100644 --- a/js/test/daterange/testdatefmtrange_sq_AL.js +++ b/js/test/daterange/testdatefmtrange_sq_AL.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unsqr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unsqr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unsqr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_sr_Latn_RS.js b/js/test/daterange/testdatefmtrange_sr_Latn_RS.js index f84a226106..981cbf4d40 100644 --- a/js/test/daterange/testdatefmtrange_sr_Latn_RS.js +++ b/js/test/daterange/testdatefmtrange_sr_Latn_RS.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unsr-Latnr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unsr-Latnr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unsr-Latnr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_sv_SE.js b/js/test/daterange/testdatefmtrange_sv_SE.js index 79b9203717..d0e3234864 100644 --- a/js/test/daterange/testdatefmtrange_sv_SE.js +++ b/js/test/daterange/testdatefmtrange_sv_SE.js @@ -4,17 +4,17 @@ * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance wsvh the License. + * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenssv/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * - * Unlsvs required by applicable law or agreed to in wrsving, software + * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WSEHOUT WARRANTISE OR CONDSEIONS OF ANY KIND, esvher exprsvs or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limsvations under the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_sw_KE.js b/js/test/daterange/testdatefmtrange_sw_KE.js index b40fc377a4..c42cf5e3f1 100644 --- a/js/test/daterange/testdatefmtrange_sw_KE.js +++ b/js/test/daterange/testdatefmtrange_sw_KE.js @@ -1,22 +1,22 @@ -/* - * testdatefmtrange_sw_KE.js - test the date range formatter object in Kenya - * - * Copyright © 2017,2017, JEDLSoft - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * See the License for the specific language governing permissions and - * limitations under the License. - */ - +/* + * testdatefmtrange_sw_KE.js - test the date range formatter object in Kenya + * + * Copyright © 2017, JEDLSoft + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * + * See the License for the specific language governing permissions and + * limitations under the License. + */ + if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } @@ -35,657 +35,652 @@ module.exports.testdatefmtrange_sw_KE = { testDateRngFmtKERangeInDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "31/12/2011, 13:45 – 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "31/12/2011, 13:45 – 14:30"); test.done(); }, testDateRngFmtKERangeInDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "31 Des 2011, 13:45 – 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "31 Des 2011, 13:45 – 14:30"); test.done(); }, testDateRngFmtKERangeInDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "31 Desemba 2011 saa 13:45 – 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "31 Desemba 2011 saa 13:45 – 14:30"); test.done(); }, testDateRngFmtKERangeInDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "31 Desemba 2011 saa 13:45 – 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "31 Desemba 2011 saa 13:45 – 14:30"); test.done(); }, - testDateRngFmtKERangeNextDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "30/12/2011, 13:45 – 31/12/2011, 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "30/12/2011, 13:45 – 31/12/2011, 14:30"); test.done(); }, testDateRngFmtKERangeNextDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "30 Des 2011, 13:45 – 31 Des 2011, 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "30 Des 2011, 13:45 – 31 Des 2011, 14:30"); test.done(); }, testDateRngFmtKERangeNextDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "30 Desemba 2011 saa 13:45 – 31 Desemba 2011 saa 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "30 Desemba 2011 saa 13:45 – 31 Desemba 2011 saa 14:30"); test.done(); }, testDateRngFmtKERangeNextDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 30, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "30 Desemba 2011 saa 13:45 – 31 Desemba 2011 saa 14:30"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 30, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "30 Desemba 2011 saa 13:45 – 31 Desemba 2011 saa 14:30"); test.done(); }, - testDateRngFmtKERangeMultiDayShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 – 31/12/2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 – 31/12/2011"); test.done(); }, testDateRngFmtKERangeMultiDayMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 – 31 Des 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 – 31 Des 2011"); test.done(); }, testDateRngFmtKERangeMultiDayLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 – 31 Desemba 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 – 31 Desemba 2011"); test.done(); }, testDateRngFmtKERangeMultiDayFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 12, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 – 31 Desemba 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 12, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 – 31 Desemba 2011"); test.done(); }, - testDateRngFmtKERangeNextMonthShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20/11 – 31/12/2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20/11 – 31/12/2011"); test.done(); }, testDateRngFmtKERangeNextMonthMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Nov – 31 Des 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Nov – 31 Des 2011"); test.done(); }, testDateRngFmtKERangeNextMonthLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Novemba – 31 Desemba 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Novemba – 31 Desemba 2011"); test.done(); }, testDateRngFmtKERangeNextMonthFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2011, - month: 12, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Novemba – 31 Desemba 2011"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2011, + month: 12, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Novemba – 31 Desemba 2011"); test.done(); }, - testDateRngFmtKERangeNextYearShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20/11/2011 – 31/01/2012"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20/11/2011 – 31/01/2012"); test.done(); }, testDateRngFmtKERangeNextYearMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Nov 2011 – 31 Jan 2012"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Nov 2011 – 31 Jan 2012"); test.done(); }, testDateRngFmtKERangeNextYearLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Novemba 2011 – 31 Januari 2012"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Novemba 2011 – 31 Januari 2012"); test.done(); }, testDateRngFmtKERangeNextYearFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2012, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "20 Novemba 2011 – 31 Januari 2012"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2012, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "20 Novemba 2011 – 31 Januari 2012"); test.done(); }, - testDateRngFmtKERangeMultiYearShort: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "11/2011 – 01/2014"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "short"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "11/2011 – 01/2014"); test.done(); }, testDateRngFmtKERangeMultiYearMedium: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "Nov 2011 – Jan 2014"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "medium"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "Nov 2011 – Jan 2014"); test.done(); }, testDateRngFmtKERangeMultiYearLong: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "Novemba 2011 – Januari 2014"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "long"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "Novemba 2011 – Januari 2014"); test.done(); }, testDateRngFmtKERangeMultiYearFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2014, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "Novemba 2011 – Januari 2014"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2014, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "Novemba 2011 – Januari 2014"); test.done(); }, testDateRngFmtKEManyYearsFull: function(test) { test.expect(2); - var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); - test.ok(fmt !== null); - - var start = new GregorianDate({ - year: 2011, - month: 11, - day: 20, - hour: 13, - minute: 45, - second: 0, - millisecond: 0 - }); - var end = new GregorianDate({ - year: 2064, - month: 1, - day: 31, - hour: 14, - minute: 30, - second: 0, - millisecond: 0 - }); - test.equal(fmt.format(start, end), "2011 – 2064"); + var fmt = new DateRngFmt({locale: "sw-Latn-KE", length: "full"}); + test.ok(fmt !== null); + + var start = new GregorianDate({ + year: 2011, + month: 11, + day: 20, + hour: 13, + minute: 45, + second: 0, + millisecond: 0 + }); + var end = new GregorianDate({ + year: 2064, + month: 1, + day: 31, + hour: 14, + minute: 30, + second: 0, + millisecond: 0 + }); + test.equal(fmt.format(start, end), "2011 – 2064"); test.done(); } }; diff --git a/js/test/daterange/testdatefmtrange_ta_IN.js b/js/test/daterange/testdatefmtrange_ta_IN.js index c424af4aac..ed87330807 100644 --- a/js/test/daterange/testdatefmtrange_ta_IN.js +++ b/js/test/daterange/testdatefmtrange_ta_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_ta_IN.js - test the date range formatter object in Tamil/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,11 +11,12 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. */ + if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_te_IN.js b/js/test/daterange/testdatefmtrange_te_IN.js index f44fceaeaf..3f15fb5a6c 100644 --- a/js/test/daterange/testdatefmtrange_te_IN.js +++ b/js/test/daterange/testdatefmtrange_te_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_te_IN.js - test the date range formatter object in Telugu/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_th_TH.js b/js/test/daterange/testdatefmtrange_th_TH.js index 9bf5c3e857..6c7c3df05c 100644 --- a/js/test/daterange/testdatefmtrange_th_TH.js +++ b/js/test/daterange/testdatefmtrange_th_TH.js @@ -7,7 +7,7 @@ * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENTH-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, diff --git a/js/test/daterange/testdatefmtrange_tr_TR.js b/js/test/daterange/testdatefmtrange_tr_TR.js index b5e9870ad4..7bd1ea09f6 100644 --- a/js/test/daterange/testdatefmtrange_tr_TR.js +++ b/js/test/daterange/testdatefmtrange_tr_TR.js @@ -3,23 +3,20 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed untrr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed untrr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations untrr the License. + * limitations under the License. */ - - - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_uk_UA.js b/js/test/daterange/testdatefmtrange_uk_UA.js index 2725a23f1a..1f03ee1b2c 100644 --- a/js/test/daterange/testdatefmtrange_uk_UA.js +++ b/js/test/daterange/testdatefmtrange_uk_UA.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unukr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unukr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unukr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { diff --git a/js/test/daterange/testdatefmtrange_ur_IN.js b/js/test/daterange/testdatefmtrange_ur_IN.js index 6424172243..5ef7ff9e81 100644 --- a/js/test/daterange/testdatefmtrange_ur_IN.js +++ b/js/test/daterange/testdatefmtrange_ur_IN.js @@ -1,7 +1,6 @@ /* * testdatefmtrange_ur_IN.js - test the date range formatter object in Urdu/India * - * * Copyright © 2012-2017, JEDLSoft * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +11,7 @@ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and * limitations under the License. diff --git a/js/test/daterange/testdatefmtrange_uz_Cyrl_UZ.js b/js/test/daterange/testdatefmtrange_uz_Cyrl_UZ.js index c3a87abf43..3b61e1ea23 100644 --- a/js/test/daterange/testdatefmtrange_uz_Cyrl_UZ.js +++ b/js/test/daterange/testdatefmtrange_uz_Cyrl_UZ.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unuzr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unuzr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unuzr the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") { @@ -23,24 +23,6 @@ if (typeof(GregorianDate) === "undefined") { if (typeof(DateRngFmt) === "undefined") { var DateRngFmt = require("../../lib/DateRngFmt.js"); } -/* - * testdatefmtrange_uz_Cyrl_UZ.js - test the date range formatter object in German/Germany - * - * Copyright © 2012-2017, JEDLSoft - * - * Licensed unuzr the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed unuzr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * - * See the License for the specific language governing permissions and - * limitations unuzr the License. - */ if (typeof(ilib) === "undefined") { var ilib = require("../../lib/ilib.js"); diff --git a/js/test/daterange/testdatefmtrange_uz_Latn_UZ.js b/js/test/daterange/testdatefmtrange_uz_Latn_UZ.js index 51ed1638d1..6ed9001e1b 100644 --- a/js/test/daterange/testdatefmtrange_uz_Latn_UZ.js +++ b/js/test/daterange/testdatefmtrange_uz_Latn_UZ.js @@ -3,22 +3,20 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unuzr the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unuzr the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unuzr the License. + * limitations under the License. */ - - if (typeof(GregorianDate) === "undefined") { var GregorianDate = require("../../lib/GregorianDate.js"); } diff --git a/js/test/daterange/testdatefmtrange_vi_VN.js b/js/test/daterange/testdatefmtrange_vi_VN.js index 4205ede668..031a7821b9 100644 --- a/js/test/daterange/testdatefmtrange_vi_VN.js +++ b/js/test/daterange/testdatefmtrange_vi_VN.js @@ -3,18 +3,18 @@ * * Copyright © 2012-2017, JEDLSoft * - * Licensed unvir the Apache License, Version 2.0 (the "License"); - * you may not use tens file except in compliance with the License. - * You may obtaiN a copy of the License at + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed unvir the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KinD, either express or implied. + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * * See the License for the specific language governing permissions and - * limitations unvir the License. + * limitations under the License. */ if (typeof(GregorianDate) === "undefined") {