Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for UTC (0.01 sec)

  1. src/test/resources/plugin/repo2/index.html

                <td>Fri Jan 13 13:53:56 UTC 2017</td>
                <td align="right">
                                  &nbsp;
                              </td>
                <td></td>
              </tr>
                      <tr>
                <td><a href="https://oss.sonatype.org/content/repositories/snapshots/org/codelibs/fess/fess-crawler-db/">fess-crawler-db/</a></td>
                <td>Fri Jan 13 13:54:37 UTC 2017</td>
                <td align="right">
    Registered: 2025-05-26 08:04
    - Last Modified: 2019-08-13 07:34
    - 10.5K bytes
    - Viewed (0)
  2. internal/s3select/sql/timestampfuncs_test.go

    	}{
    		{"2010T", time.Date(2010, 1, 1, 0, 0, 0, 0, time.UTC)},
    		{"2010-02T", time.Date(2010, 2, 1, 0, 0, 0, 0, time.UTC)},
    		{"2010-02-03T", time.Date(2010, 2, 3, 0, 0, 0, 0, time.UTC)},
    		{"2010-02-03T04:11Z", time.Date(2010, 2, 3, 4, 11, 0, 0, time.UTC)},
    		{"2010-02-03T04:11:30Z", time.Date(2010, 2, 3, 4, 11, 30, 0, time.UTC)},
    		{"2010-02-03T04:11:30.23Z", time.Date(2010, 2, 3, 4, 11, 30, 230000000, time.UTC)},
    Registered: 2025-05-25 19:28
    - Last Modified: 2021-06-01 21:59
    - 2.2K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-09 14:28
    - 22.5K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java

        }
    
        /**
         * Returns the zone ID of this clock, which is always UTC.
         *
         * @return the UTC zone ID
         */
        @Override
        public ZoneId getZone() {
            return ZoneOffset.UTC;
        }
    
        /**
         * Returns this clock since timezone adjustments are not supported.
         * <p>
         * This implementation maintains UTC time to ensure monotonic behavior.
         * The provided zone parameter is ignored.
    Registered: 2025-05-24 08:56
    - Last Modified: 2025-01-15 06:28
    - 5.6K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle_test.go

    		days     ExpirationDays
    		expected time.Time
    	}{
    		{
    			time.Date(2020, time.March, 15, 10, 10, 10, 0, time.UTC),
    			4,
    			time.Date(2020, time.March, 20, 0, 0, 0, 0, time.UTC),
    		},
    		{
    			time.Date(2020, time.March, 15, 0, 0, 0, 0, time.UTC),
    			1,
    			time.Date(2020, time.March, 17, 0, 0, 0, 0, time.UTC),
    		},
    	}
    
    	for i, tc := range testCases {
    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-03 06:45
    - 55.6K bytes
    - Viewed (0)
  6. internal/amztime/iso8601_time_test.go

    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 940303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.940Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 901303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.901Z",
    		},
    		{
    			date:           time.Date(2009, time.November, 13, 4, 51, 1, 900303531, time.UTC),
    			expectedOutput: "2009-11-13T04:51:01.900Z",
    		},
    		{
    Registered: 2025-05-25 19:28
    - Last Modified: 2022-12-12 18:28
    - 1.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                return writer.writeUtf8(string)
              }
            },
        )
    
      internal fun parseUtcTime(string: String): Long {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
    Registered: 2025-05-30 11:42
    - Last Modified: 2024-01-08 01:13
    - 15K bytes
    - Viewed (0)
  8. utils/tests/utils.go

    		isEqual := func() {
    			if curTime, ok := got.(time.Time); ok {
    				format := "2006-01-02T15:04:05Z07:00"
    
    				if curTime.Round(time.Second).UTC().Format(format) != expect.(time.Time).Round(time.Second).UTC().Format(format) && curTime.Truncate(time.Second).UTC().Format(format) != expect.(time.Time).Truncate(time.Second).UTC().Format(format) {
    					t.Errorf("%v: expect: %v, got %v after time round", utils.FileWithLineNum(), expect.(time.Time), curTime)
    				}
    Registered: 2025-05-25 09:35
    - Last Modified: 2023-03-10 09:21
    - 3.9K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/evaluator_test.go

    		{Action: NoneAction},
    		{Action: NoneAction},
    		{Action: NoneAction},
    		{Action: DeleteVersionAction},
    	}
    	var objs []ObjectOpts
    	curModTime := time.Date(2025, time.February, 10, 23, 0, 0, 0, time.UTC)
    	for i := range tagKeys {
    		obj := ObjectOpts{
    			Name:        "obj",
    			VersionID:   verIDs[i],
    			ModTime:     curModTime.Add(time.Duration(-i) * time.Second),
    			UserTags:    fmt.Sprintf("%s=minio", tagKeys[i]),
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-08 15:41
    - 5K bytes
    - Viewed (0)
  10. tests/test_datetime_custom_encoder.py

            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_datetime(self, dt_field: datetime):
                return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
            return model
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2023-07-07 17:12
    - 1.6K bytes
    - Viewed (0)
Back to top