moment().dayOfYear(Number);
moment().dayOfYear(); // 数字
获取或设置年份的日期。
接受 1 到 366 之间的数字。
如果超出范围,则它将会冒泡到年份。
moment().dayOfYear(Number);
moment().dayOfYear(); // Number
Gets or sets the day of the year.
Accepts numbers from 1 to 366. If the range is exceeded, it will bubble up to the years.