@@ -630,6 +630,7 @@ export default class DateTime {
630
630
* @param {string } [options.locale] - a locale to set on the resulting DateTime instance
631
631
* @param {string } [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
632
632
* @param {string } [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
633
+ * @param {string } [options.weekSettings] - the week settings to set on the resulting DateTime instance
633
634
* @example DateTime.utc() //~> now
634
635
* @example DateTime.utc(2017) //~> 2017-01-01T00:00:00Z
635
636
* @example DateTime.utc(2017, 3) //~> 2017-03-01T00:00:00Z
@@ -682,6 +683,7 @@ export default class DateTime {
682
683
* @param {string } [options.locale] - a locale to set on the resulting DateTime instance
683
684
* @param {string } options.outputCalendar - the output calendar to set on the resulting DateTime instance
684
685
* @param {string } options.numberingSystem - the numbering system to set on the resulting DateTime instance
686
+ * @param {string } options.weekSettings - the week settings to set on the resulting DateTime instance
685
687
* @return {DateTime }
686
688
*/
687
689
static fromMillis ( milliseconds , options = { } ) {
@@ -709,6 +711,7 @@ export default class DateTime {
709
711
* @param {string } [options.locale] - a locale to set on the resulting DateTime instance
710
712
* @param {string } options.outputCalendar - the output calendar to set on the resulting DateTime instance
711
713
* @param {string } options.numberingSystem - the numbering system to set on the resulting DateTime instance
714
+ * @param {string } options.weekSettings - the week settings to set on the resulting DateTime instance
712
715
* @return {DateTime }
713
716
*/
714
717
static fromSeconds ( seconds , options = { } ) {
@@ -745,6 +748,7 @@ export default class DateTime {
745
748
* @param {string } [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
746
749
* @param {string } opts.outputCalendar - the output calendar to set on the resulting DateTime instance
747
750
* @param {string } opts.numberingSystem - the numbering system to set on the resulting DateTime instance
751
+ * @param {string } opts.weekSettings - the week settings to set on the resulting DateTime instance
748
752
* @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
749
753
* @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
750
754
* @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
@@ -874,6 +878,7 @@ export default class DateTime {
874
878
* @param {string } [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
875
879
* @param {string } [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
876
880
* @param {string } [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
881
+ * @param {string } [opts.weekSettings] - the week settings to set on the resulting DateTime instance
877
882
* @example DateTime.fromISO('2016-05-25T09:08:34.123')
878
883
* @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
879
884
* @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
@@ -895,6 +900,7 @@ export default class DateTime {
895
900
* @param {string } [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
896
901
* @param {string } opts.outputCalendar - the output calendar to set on the resulting DateTime instance
897
902
* @param {string } opts.numberingSystem - the numbering system to set on the resulting DateTime instance
903
+ * @param {string } opts.weekSettings - the week settings to set on the resulting DateTime instance
898
904
* @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
899
905
* @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
900
906
* @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
@@ -915,6 +921,7 @@ export default class DateTime {
915
921
* @param {string } [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
916
922
* @param {string } opts.outputCalendar - the output calendar to set on the resulting DateTime instance
917
923
* @param {string } opts.numberingSystem - the numbering system to set on the resulting DateTime instance
924
+ * @param {string } opts.weekSettings - the week settings to set on the resulting DateTime instance
918
925
* @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
919
926
* @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
920
927
* @example DateTime.fromHTTP('Sun Nov 6 08:49:37 1994')
@@ -935,6 +942,7 @@ export default class DateTime {
935
942
* @param {boolean } [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
936
943
* @param {string } [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
937
944
* @param {string } opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
945
+ * @param {string } opts.weekSettings - the week settings to set on the resulting DateTime instance
938
946
* @param {string } opts.outputCalendar - the output calendar to set on the resulting DateTime instance
939
947
* @return {DateTime }
940
948
*/
@@ -973,6 +981,7 @@ export default class DateTime {
973
981
* @param {boolean } [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
974
982
* @param {string } [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
975
983
* @param {string } opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
984
+ * @param {string } opts.weekSettings - the week settings to set on the resulting DateTime instance
976
985
* @param {string } opts.outputCalendar - the output calendar to set on the resulting DateTime instance
977
986
* @example DateTime.fromSQL('2017-05-15')
978
987
* @example DateTime.fromSQL('2017-05-15 09:12:34')
0 commit comments