- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for timerDone (0.14 sec)
-
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
import static org.junit.Assert.assertThat; import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.Locale; import java.util.TimeZone; import org.codelibs.core.misc.LocaleUtil; import org.junit.After; import org.junit.Before; import org.junit.Test; /** * @author higa */ public class TimestampConversionUtilTest { @Before
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.4K bytes - Viewed (0) -
pkg/controller/cronjob/utils_test.go
}, { name: "nil timezone and one annotation", timeZone: nil, inputAnnotations: map[string]string{"x": "y"}, expectedScheduledTime: func() time.Time { return scheduledTime }, expectedNumberOfAnnotations: 2, }, { name: "correct timezone and multiple annotation", timeZone: &timeZoneCorrect,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 22.8K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2.go
logger := klog.FromContext(ctx) if cronJob.Spec.TimeZone != nil { timeZone := ptr.Deref(cronJob.Spec.TimeZone, "") if _, err := time.LoadLocation(timeZone); err != nil { logger.V(4).Info("Not starting job because timeZone is invalid", "cronjob", klog.KObj(cronJob), "timeZone", timeZone, "err", err) jm.recorder.Eventf(cronJob, corev1.EventTypeWarning, "UnknownTimeZone", "invalid timeZone: %q: %s", timeZone, err) return nil, updateStatus, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K bytes - Viewed (0) -
maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
// logic from metadata.mdo, class "Versioning" TimeZone timezone = TimeZone.getTimeZone("UTC"); DateFormat fmt = new SimpleDateFormat(forSnapshotTimestamp ? DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT : DEFAULT_DATE_FORMAT); fmt.setCalendar(new GregorianCalendar()); fmt.setTimeZone(timezone); return fmt.format(date); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 14.1K bytes - Viewed (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
} public void setLastUpdatedTimestamp( java.util.Date date ) { java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" ); java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" ); fmt.setTimeZone( timezone ); setLastUpdated( fmt.format( date ) ); } ]]></code> </codeSegment> </codeSegments>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed May 15 17:32:27 UTC 2024 - 15.8K bytes - Viewed (0) -
src/time/zoneinfo.go
if r == '>' { return s[1:i], s[i+1:], true } } return "", "", false } } // tzsetOffset returns the timezone offset at the start of the tzset string s, // and the remainder of s, and reports whether the parsing is OK. // The timezone offset is returned as a number of seconds. func tzsetOffset(s string) (offset int, rest string, ok bool) { if len(s) == 0 { return 0, "", false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:30 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/registry/batch/cronjob/strategy_test.go
}, } validCronjobSpec = batch.CronJobSpec{ Schedule: "5 5 * * ?", ConcurrencyPolicy: batch.AllowConcurrent, TimeZone: ptr.To("Asia/Shanghai"), JobTemplate: batch.JobTemplateSpec{ Spec: batch.JobSpec{ Template: validPodTemplateSpec, CompletionMode: completionModePtr(batch.IndexedCompletion),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 12.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
@JvmField internal val EMPTY_RESPONSE: ResponseBody = commonEmptyResponse /** GMT and UTC are equivalent for our purposes. */ @JvmField internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!! internal fun threadFactory( name: String, daemon: Boolean, ): ThreadFactory = ThreadFactory { runnable -> Thread(runnable, name).apply { isDaemon = daemon }
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/api/batch/v1beta1/generated.pb.go
} func (m *CronJobSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) { i := len(dAtA) _ = i var l int _ = l if m.TimeZone != nil { i -= len(*m.TimeZone) copy(dAtA[i:], *m.TimeZone) i = encodeVarintGenerated(dAtA, i, uint64(len(*m.TimeZone))) i-- dAtA[i] = 0x42 } if m.FailedJobsHistoryLimit != nil { i = encodeVarintGenerated(dAtA, i, uint64(*m.FailedJobsHistoryLimit)) i--
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 40.2K bytes - Viewed (0) -
src/testing/benchmark.go
// before a benchmark starts, but it can also be used to resume timing after // a call to [B.StopTimer]. func (b *B) StartTimer() { if !b.timerOn { runtime.ReadMemStats(&memStats) b.startAllocs = memStats.Mallocs b.startBytes = memStats.TotalAlloc b.start = highPrecisionTimeNow() b.timerOn = true } } // StopTimer stops timing a test. This can be used to pause the timer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23.9K bytes - Viewed (0)