code: function getYearDay (date) {
    date = toStringDate(date)
    if (baseExports.isDate(date)) {
      return Math.floor((getYMDTime(date) - getYMDTime(getWhatYear(date, 0, STRING_FIRST))) / DAY_TIME) + 1
    }
    return date
  }
docs: 返回某个年份的第几天
  
  @param {Date} date 日期或数字
  @return {Number}