Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for MONTH (0.34 sec)

  1. internal/s3select/sql/timestampfuncs.go

    	case timePartYear:
    		dy := int64(y2 - y1)
    		if m2 > m1 || (m2 == m1 && d2 >= d1) {
    			return FromInt(dy), nil
    		}
    		return FromInt(dy - 1), nil
    	case timePartMonth:
    		m1 += time.Month(12 * y1)
    		m2 += time.Month(12 * y2)
    
    		return FromInt(int64(m2 - m1)), nil
    	case timePartDay:
    		return FromInt(int64(duration / (24 * time.Hour))), nil
    	case timePartHour:
    		hours := duration / time.Hour
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

              }
              dayOfMonth == -1 && matcher.usePattern(DAY_OF_MONTH_PATTERN).matches() -> {
                dayOfMonth = matcher.group(1).toInt()
              }
              month == -1 && matcher.usePattern(MONTH_PATTERN).matches() -> {
                val monthString = matcher.group(1).lowercase(Locale.US)
                month = MONTH_PATTERN.pattern().indexOf(monthString) / 4 // Sneaky! jan=1, dec=12.
              }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. src/archive/zip/struct.go

    func msDosTimeToTime(dosDate, dosTime uint16) time.Time {
    	return time.Date(
    		// date bits 0-4: day of month; 5-8: month; 9-15: years since 1980
    		int(dosDate>>9+1980),
    		time.Month(dosDate>>5&0xf),
    		int(dosDate&0x1f),
    
    		// time bits 0-4: second/2; 5-10: minute; 11-15: hour
    		int(dosTime>>11),
    		int(dosTime>>5&0x3f),
    		int(dosTime&0x1f*2),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. .github/actions/people/app/main.py

    ) -> DiscussionExpertsResults:
        commenters = Counter()
        last_month_commenters = Counter()
        three_months_commenters = Counter()
        six_months_commenters = Counter()
        one_year_commenters = Counter()
        authors: Dict[str, Author] = {}
    
        now = datetime.now(tz=timezone.utc)
        one_month_ago = now - timedelta(days=30)
        three_months_ago = now - timedelta(days=90)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  5. internal/s3select/sql/parser.go

    	Quantity  *Operand     `parser:" @@ \",\""`
    	Timestamp *PrimaryTerm `parser:" @@ \")\""`
    }
    
    // DateDiffFunc represents the DATE_DIFF function
    type DateDiffFunc struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. docs/en/docs/fastapi-people.md

    You can see the **FastAPI Experts** for:
    
    * [Last Month](#fastapi-experts-last-month) 🤓
    * [3 Months](#fastapi-experts-3-months) 😎
    * [6 Months](#fastapi-experts-6-months) 🧐
    * [1 Year](#fastapi-experts-1-year) 🧑‍🔬
    * [**All Time**](#fastapi-experts-all-time) 🧙
    
    ### FastAPI Experts - Last Month
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  7. docs/zh/docs/fastapi-people.md

    他们通过帮助许多人而被证明是 **FastAPI 专家**。 ✨
    
    !!! 小提示
        你也可以成为认可的 FastAPI 专家!
    
        只需要 [帮助他人解决 GitHub 上的问题](help-fastapi.md#github_1){.internal-link target=_blank}。 🤓
    
    你可以查看不同时期的 **FastAPI 专家**:
    
    * [上个月](#fastapi-experts-last-month) 🤓
    * [三个月](#fastapi-experts-3-months) 😎
    * [六个月](#fastapi-experts-6-months) 🧐
    * [一年](#fastapi-experts-1-year) 🧑‍🔬
    * [**全部时间**](#fastapi-experts-all-time) 🧙
    
    ## FastAPI 专家 - 上个月
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 25 17:09:48 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. cmd/update-notifier_test.go

    		{15 * 24 * time.Hour, "my_download_url", "2 weeks before the latest release"},
    
    		// Testcase index 20
    		{30 * 24 * time.Hour, "my_download_url", "1 month before the latest release"},
    		{31 * 24 * time.Hour, "my_download_url", "1 month before the latest release"},
    		{61 * 24 * time.Hour, "my_download_url", "2 months before the latest release"},
    		{360 * 24 * time.Hour, "my_download_url", "1 year before the latest release"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  9. internal/config/heal/heal.go

    	}
    
    	months, err := strconv.Atoi(strings.TrimSuffix(s, "m"))
    	if err != nil {
    		return -1, err
    	}
    
    	if months < minimumBitrotCycleInMonths {
    		return -1, fmt.Errorf("minimum bitrot cycle is %d month(s)", minimumBitrotCycleInMonths)
    	}
    
    	return time.Duration(months) * 30 * 24 * time.Hour, nil
    }
    
    // LookupConfig - lookup config and override with valid environment settings if any.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    		"sum(2 + s.id)",
    		"sum(t)",
    		"avg(s.id[1])",
    		"coalesce(s.id[1], 2, 2 + 3)",
    
    		"cast(s as string)",
    		"cast(s AS INT)",
    		"cast(s as DECIMAL)",
    		"extract(YEAR from '2018-01-09')",
    		"extract(month from '2018-01-09')",
    
    		"extract(hour from '2018-01-09')",
    		"extract(day from '2018-01-09')",
    		"substring('abcd' from 2 for 2)",
    		"substring('abcd' from 2)",
    		"substring('abcd' , 2 , 2)",
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
Back to top