cronstrue 2.6.0 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ To see what has changed in a release version, see the release notes on the [Releases](https://github.com/bradymholt/cRonstrue/releases) page.
package/README.md CHANGED
@@ -9,7 +9,7 @@ This library was ported from the original C# implementation called [cron-express
9
9
  - Supports all cron expression special characters including * / , - ? L W, #
10
10
  - Supports 5, 6 (w/ seconds or year), or 7 (w/ seconds and year) part cron expressions
11
11
  - Supports [Quartz Job Scheduler](http://www.quartz-scheduler.org/) cron expressions
12
- - i18n support with 27 languages
12
+ - i18n support with 28 languages
13
13
 
14
14
  ## Demo
15
15
 
@@ -173,6 +173,7 @@ No, cRonstrue does not support this. This library simply describes a cron expre
173
173
  - nl - Dutch ([TotalMace](https://github.com/TotalMace))
174
174
  - pl - Polish ([foka](https://github.com/foka))
175
175
  - pt_BR - Portuguese (Brazil) ([Renato Lima](https://github.com/natenho))
176
+ - pt_PT - Portuguese (Portugal) ([POFerro](https://github.com/POFerro))
176
177
  - ro - Romanian ([Illegitimis](https://github.com/illegitimis))
177
178
  - ru - Russian ([LbISS](https://github.com/LbISS))
178
179
  - sk - Slovakian ([hanbar](https://github.com/hanbar))
@@ -184,6 +185,7 @@ No, cRonstrue does not support this. This library simply describes a cron expre
184
185
  - zh_CN - Chinese (Simplified) ([Star Peng](https://github.com/starpeng))
185
186
  - zh_TW - Chinese (Traditional) ([Ricky Chiang](https://github.com/metavige))
186
187
  - be - Belarusian ([Kirill Mikulich](https://github.com/KirillMikulich))
188
+ - hu - Hungarian ([Orcsity Norbert](https://github.com/Northber), Szabó Dániel)
187
189
 
188
190
  ## License
189
191
 
@@ -666,7 +666,7 @@ exports.ExpressionDescriptor = ExpressionDescriptor;
666
666
 
667
667
 
668
668
  Object.defineProperty(exports, "__esModule", ({ value: true }));
669
- exports.be = exports.ca = exports.fa = exports.sw = exports.sl = exports.fi = exports.sk = exports.cs = exports.he = exports.ja = exports.zh_TW = exports.zh_CN = exports.uk = exports.tr = exports.ru = exports.ro = exports.pt_BR = exports.pl = exports.sv = exports.nb = exports.nl = exports.ko = exports.id = exports.it = exports.fr = exports.es = exports.de = exports.da = exports.en = void 0;
669
+ exports.hu = exports.be = exports.ca = exports.fa = exports.sw = exports.sl = exports.fi = exports.sk = exports.cs = exports.he = exports.ja = exports.zh_TW = exports.zh_CN = exports.uk = exports.tr = exports.ru = exports.ro = exports.pt_PT = exports.pt_BR = exports.pl = exports.sv = exports.nb = exports.nl = exports.ko = exports.id = exports.it = exports.fr = exports.es = exports.de = exports.da = exports.en = void 0;
670
670
  var en_1 = __webpack_require__(751);
671
671
  Object.defineProperty(exports, "en", ({ enumerable: true, get: function () { return en_1.en; } }));
672
672
  var da_1 = __webpack_require__(904);
@@ -693,6 +693,8 @@ var pl_1 = __webpack_require__(665);
693
693
  Object.defineProperty(exports, "pl", ({ enumerable: true, get: function () { return pl_1.pl; } }));
694
694
  var pt_BR_1 = __webpack_require__(461);
695
695
  Object.defineProperty(exports, "pt_BR", ({ enumerable: true, get: function () { return pt_BR_1.pt_BR; } }));
696
+ var pt_PT_1 = __webpack_require__(713);
697
+ Object.defineProperty(exports, "pt_PT", ({ enumerable: true, get: function () { return pt_PT_1.pt_PT; } }));
696
698
  var ro_1 = __webpack_require__(408);
697
699
  Object.defineProperty(exports, "ro", ({ enumerable: true, get: function () { return ro_1.ro; } }));
698
700
  var ru_1 = __webpack_require__(392);
@@ -725,6 +727,8 @@ var ca_1 = __webpack_require__(708);
725
727
  Object.defineProperty(exports, "ca", ({ enumerable: true, get: function () { return ca_1.ca; } }));
726
728
  var be_1 = __webpack_require__(445);
727
729
  Object.defineProperty(exports, "be", ({ enumerable: true, get: function () { return be_1.be; } }));
730
+ var hu_1 = __webpack_require__(560);
731
+ Object.defineProperty(exports, "hu", ({ enumerable: true, get: function () { return hu_1.hu; } }));
728
732
 
729
733
 
730
734
  /***/ }),
@@ -2748,6 +2752,191 @@ var he = (function () {
2748
2752
  exports.he = he;
2749
2753
 
2750
2754
 
2755
+ /***/ }),
2756
+
2757
+ /***/ 560:
2758
+ /***/ ((__unused_webpack_module, exports) => {
2759
+
2760
+
2761
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
2762
+ exports.hu = void 0;
2763
+ var hu = (function () {
2764
+ function hu() {
2765
+ }
2766
+ hu.prototype.atX0SecondsPastTheMinuteGt20 = function () {
2767
+ return null;
2768
+ };
2769
+ hu.prototype.atX0MinutesPastTheHourGt20 = function () {
2770
+ return null;
2771
+ };
2772
+ hu.prototype.commaMonthX0ThroughMonthX1 = function () {
2773
+ return null;
2774
+ };
2775
+ hu.prototype.commaYearX0ThroughYearX1 = function () {
2776
+ return null;
2777
+ };
2778
+ hu.prototype.use24HourTimeFormatByDefault = function () {
2779
+ return false;
2780
+ };
2781
+ hu.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
2782
+ return "Hiba történt a kifejezésleírás generálásakor. Ellenőrizze a cron kifejezés szintaxisát.";
2783
+ };
2784
+ hu.prototype.everyMinute = function () {
2785
+ return "minden percben";
2786
+ };
2787
+ hu.prototype.everyHour = function () {
2788
+ return "minden órában";
2789
+ };
2790
+ hu.prototype.atSpace = function () {
2791
+ return "Ekkor: ";
2792
+ };
2793
+ hu.prototype.everyMinuteBetweenX0AndX1 = function () {
2794
+ return "percenként %s és %s között";
2795
+ };
2796
+ hu.prototype.at = function () {
2797
+ return "Ekkor:";
2798
+ };
2799
+ hu.prototype.spaceAnd = function () {
2800
+ return " és";
2801
+ };
2802
+ hu.prototype.everySecond = function () {
2803
+ return "minden másodpercben";
2804
+ };
2805
+ hu.prototype.everyX0Seconds = function () {
2806
+ return "%s másodpercenként";
2807
+ };
2808
+ hu.prototype.secondsX0ThroughX1PastTheMinute = function () {
2809
+ return "%s. másodpercben %s perc után";
2810
+ };
2811
+ hu.prototype.atX0SecondsPastTheMinute = function () {
2812
+ return "%s. másodpercben";
2813
+ };
2814
+ hu.prototype.everyX0Minutes = function () {
2815
+ return "minden %s. percben";
2816
+ };
2817
+ hu.prototype.minutesX0ThroughX1PastTheHour = function () {
2818
+ return "%s. percben %s óra után";
2819
+ };
2820
+ hu.prototype.atX0MinutesPastTheHour = function () {
2821
+ return "%s. percben";
2822
+ };
2823
+ hu.prototype.everyX0Hours = function () {
2824
+ return "minden %s órában";
2825
+ };
2826
+ hu.prototype.betweenX0AndX1 = function () {
2827
+ return "%s és %s között";
2828
+ };
2829
+ hu.prototype.atX0 = function () {
2830
+ return "ekkor %s";
2831
+ };
2832
+ hu.prototype.commaEveryDay = function () {
2833
+ return ", minden nap";
2834
+ };
2835
+ hu.prototype.commaEveryX0DaysOfTheWeek = function () {
2836
+ return ", a hét minden %s napján";
2837
+ };
2838
+ hu.prototype.commaX0ThroughX1 = function () {
2839
+ return ", %s - %s";
2840
+ };
2841
+ hu.prototype.first = function () {
2842
+ return "első";
2843
+ };
2844
+ hu.prototype.second = function () {
2845
+ return "második";
2846
+ };
2847
+ hu.prototype.third = function () {
2848
+ return "harmadik";
2849
+ };
2850
+ hu.prototype.fourth = function () {
2851
+ return "negyedik";
2852
+ };
2853
+ hu.prototype.fifth = function () {
2854
+ return "ötödik";
2855
+ };
2856
+ hu.prototype.commaOnThe = function () {
2857
+ return ", ";
2858
+ };
2859
+ hu.prototype.spaceX0OfTheMonth = function () {
2860
+ return " %s a hónapban";
2861
+ };
2862
+ hu.prototype.lastDay = function () {
2863
+ return "az utolsó nap";
2864
+ };
2865
+ hu.prototype.commaOnTheLastX0OfTheMonth = function () {
2866
+ return ", a hónap utolsó %s";
2867
+ };
2868
+ hu.prototype.commaOnlyOnX0 = function () {
2869
+ return ", csak ekkor: %s";
2870
+ };
2871
+ hu.prototype.commaAndOnX0 = function () {
2872
+ return ", és %s";
2873
+ };
2874
+ hu.prototype.commaEveryX0Months = function () {
2875
+ return ", minden %s hónapban";
2876
+ };
2877
+ hu.prototype.commaOnlyInX0 = function () {
2878
+ return ", csak ekkor: %s";
2879
+ };
2880
+ hu.prototype.commaOnTheLastDayOfTheMonth = function () {
2881
+ return ", a hónap utolsó napján";
2882
+ };
2883
+ hu.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
2884
+ return ", a hónap utolsó hétköznapján";
2885
+ };
2886
+ hu.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
2887
+ return ", %s nappal a hónap utolsó napja előtt";
2888
+ };
2889
+ hu.prototype.firstWeekday = function () {
2890
+ return "első hétköznap";
2891
+ };
2892
+ hu.prototype.weekdayNearestDayX0 = function () {
2893
+ return "hétköznap legközelebbi nap %s";
2894
+ };
2895
+ hu.prototype.commaOnTheX0OfTheMonth = function () {
2896
+ return ", a hónap %s";
2897
+ };
2898
+ hu.prototype.commaEveryX0Days = function () {
2899
+ return ", %s naponként";
2900
+ };
2901
+ hu.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
2902
+ return ", a hónap %s és %s napja között";
2903
+ };
2904
+ hu.prototype.commaOnDayX0OfTheMonth = function () {
2905
+ return ", a hónap %s napján";
2906
+ };
2907
+ hu.prototype.commaEveryHour = function () {
2908
+ return ", minden órában";
2909
+ };
2910
+ hu.prototype.commaEveryX0Years = function () {
2911
+ return ", %s évente";
2912
+ };
2913
+ hu.prototype.commaStartingX0 = function () {
2914
+ return ", %s kezdettel";
2915
+ };
2916
+ hu.prototype.daysOfTheWeek = function () {
2917
+ return ["vasárnap", "hétfő", "kedd", "szerda", "csütörtök", "péntek", "szombat"];
2918
+ };
2919
+ hu.prototype.monthsOfTheYear = function () {
2920
+ return [
2921
+ "január",
2922
+ "február",
2923
+ "március",
2924
+ "április",
2925
+ "május",
2926
+ "június",
2927
+ "július",
2928
+ "augusztus",
2929
+ "szeptember",
2930
+ "október",
2931
+ "november",
2932
+ "december",
2933
+ ];
2934
+ };
2935
+ return hu;
2936
+ }());
2937
+ exports.hu = hu;
2938
+
2939
+
2751
2940
  /***/ }),
2752
2941
 
2753
2942
  /***/ 258:
@@ -4211,6 +4400,188 @@ var pt_BR = (function () {
4211
4400
  exports.pt_BR = pt_BR;
4212
4401
 
4213
4402
 
4403
+ /***/ }),
4404
+
4405
+ /***/ 713:
4406
+ /***/ ((__unused_webpack_module, exports) => {
4407
+
4408
+
4409
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
4410
+ exports.pt_PT = void 0;
4411
+ var pt_PT = (function () {
4412
+ function pt_PT() {
4413
+ }
4414
+ pt_PT.prototype.atX0SecondsPastTheMinuteGt20 = function () {
4415
+ return null;
4416
+ };
4417
+ pt_PT.prototype.atX0MinutesPastTheHourGt20 = function () {
4418
+ return null;
4419
+ };
4420
+ pt_PT.prototype.commaMonthX0ThroughMonthX1 = function () {
4421
+ return null;
4422
+ };
4423
+ pt_PT.prototype.commaYearX0ThroughYearX1 = function () {
4424
+ return null;
4425
+ };
4426
+ pt_PT.prototype.use24HourTimeFormatByDefault = function () {
4427
+ return true;
4428
+ };
4429
+ pt_PT.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
4430
+ return "Ocorreu um erro ao gerar a descrição da expressão Cron.";
4431
+ };
4432
+ pt_PT.prototype.at = function () {
4433
+ return "às";
4434
+ };
4435
+ pt_PT.prototype.atSpace = function () {
4436
+ return "às ";
4437
+ };
4438
+ pt_PT.prototype.atX0 = function () {
4439
+ return "Às %s";
4440
+ };
4441
+ pt_PT.prototype.atX0MinutesPastTheHour = function () {
4442
+ return "aos %s minutos da hora";
4443
+ };
4444
+ pt_PT.prototype.atX0SecondsPastTheMinute = function () {
4445
+ return "aos %s segundos do minuto";
4446
+ };
4447
+ pt_PT.prototype.betweenX0AndX1 = function () {
4448
+ return "entre %s e %s";
4449
+ };
4450
+ pt_PT.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
4451
+ return ", entre os dias %s e %s do mês";
4452
+ };
4453
+ pt_PT.prototype.commaEveryDay = function () {
4454
+ return ", a cada dia";
4455
+ };
4456
+ pt_PT.prototype.commaEveryX0Days = function () {
4457
+ return ", a cada %s dias";
4458
+ };
4459
+ pt_PT.prototype.commaEveryX0DaysOfTheWeek = function () {
4460
+ return ", a cada %s dias de semana";
4461
+ };
4462
+ pt_PT.prototype.commaEveryX0Months = function () {
4463
+ return ", a cada %s meses";
4464
+ };
4465
+ pt_PT.prototype.commaOnDayX0OfTheMonth = function () {
4466
+ return ", no dia %s do mês";
4467
+ };
4468
+ pt_PT.prototype.commaOnlyInX0 = function () {
4469
+ return ", somente em %s";
4470
+ };
4471
+ pt_PT.prototype.commaOnlyOnX0 = function () {
4472
+ return ", somente de %s";
4473
+ };
4474
+ pt_PT.prototype.commaAndOnX0 = function () {
4475
+ return ", e de %s";
4476
+ };
4477
+ pt_PT.prototype.commaOnThe = function () {
4478
+ return ", na ";
4479
+ };
4480
+ pt_PT.prototype.commaOnTheLastDayOfTheMonth = function () {
4481
+ return ", no último dia do mês";
4482
+ };
4483
+ pt_PT.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
4484
+ return ", no último dia da semana do mês";
4485
+ };
4486
+ pt_PT.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
4487
+ return ", %s dias antes do último dia do mês";
4488
+ };
4489
+ pt_PT.prototype.commaOnTheLastX0OfTheMonth = function () {
4490
+ return ", na última %s do mês";
4491
+ };
4492
+ pt_PT.prototype.commaOnTheX0OfTheMonth = function () {
4493
+ return ", no %s do mês";
4494
+ };
4495
+ pt_PT.prototype.commaX0ThroughX1 = function () {
4496
+ return ", de %s a %s";
4497
+ };
4498
+ pt_PT.prototype.everyHour = function () {
4499
+ return "a cada hora";
4500
+ };
4501
+ pt_PT.prototype.everyMinute = function () {
4502
+ return "a cada minuto";
4503
+ };
4504
+ pt_PT.prototype.everyMinuteBetweenX0AndX1 = function () {
4505
+ return "a cada minuto entre %s e %s";
4506
+ };
4507
+ pt_PT.prototype.everySecond = function () {
4508
+ return "a cada segundo";
4509
+ };
4510
+ pt_PT.prototype.everyX0Hours = function () {
4511
+ return "a cada %s horas";
4512
+ };
4513
+ pt_PT.prototype.everyX0Minutes = function () {
4514
+ return "a cada %s minutos";
4515
+ };
4516
+ pt_PT.prototype.everyX0Seconds = function () {
4517
+ return "a cada %s segundos";
4518
+ };
4519
+ pt_PT.prototype.fifth = function () {
4520
+ return "quinta";
4521
+ };
4522
+ pt_PT.prototype.first = function () {
4523
+ return "primeira";
4524
+ };
4525
+ pt_PT.prototype.firstWeekday = function () {
4526
+ return "primeiro dia da semana";
4527
+ };
4528
+ pt_PT.prototype.fourth = function () {
4529
+ return "quarta";
4530
+ };
4531
+ pt_PT.prototype.minutesX0ThroughX1PastTheHour = function () {
4532
+ return "do minuto %s até %s de cada hora";
4533
+ };
4534
+ pt_PT.prototype.second = function () {
4535
+ return "segunda";
4536
+ };
4537
+ pt_PT.prototype.secondsX0ThroughX1PastTheMinute = function () {
4538
+ return "No segundo %s até %s de cada minuto";
4539
+ };
4540
+ pt_PT.prototype.spaceAnd = function () {
4541
+ return " e";
4542
+ };
4543
+ pt_PT.prototype.spaceX0OfTheMonth = function () {
4544
+ return " %s do mês";
4545
+ };
4546
+ pt_PT.prototype.lastDay = function () {
4547
+ return "o último dia";
4548
+ };
4549
+ pt_PT.prototype.third = function () {
4550
+ return "terceira";
4551
+ };
4552
+ pt_PT.prototype.weekdayNearestDayX0 = function () {
4553
+ return "dia da semana mais próximo do dia %s";
4554
+ };
4555
+ pt_PT.prototype.commaEveryX0Years = function () {
4556
+ return ", a cada %s anos";
4557
+ };
4558
+ pt_PT.prototype.commaStartingX0 = function () {
4559
+ return ", iniciando %s";
4560
+ };
4561
+ pt_PT.prototype.daysOfTheWeek = function () {
4562
+ return ["domingo", "segunda-feira", "terça-feira", "quarta-feira", "quinta-feira", "sexta-feira", "sábado"];
4563
+ };
4564
+ pt_PT.prototype.monthsOfTheYear = function () {
4565
+ return [
4566
+ "janeiro",
4567
+ "fevereiro",
4568
+ "março",
4569
+ "abril",
4570
+ "maio",
4571
+ "junho",
4572
+ "julho",
4573
+ "agosto",
4574
+ "setembro",
4575
+ "outubro",
4576
+ "novembro",
4577
+ "dezembro",
4578
+ ];
4579
+ };
4580
+ return pt_PT;
4581
+ }());
4582
+ exports.pt_PT = pt_PT;
4583
+
4584
+
4214
4585
  /***/ }),
4215
4586
 
4216
4587
  /***/ 408: