- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 686 for rate (0.01 sec)
-
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
Metadata source = createMetadataFromArtifact(artifact); Date date = new Date(); addSnapshotVersion(target.getVersioning(), date, artifact); SnapshotVersion sv1 = addSnapshotVersion(source.getVersioning(), date, artifact); // although nothing has changed merge returns true, as the last modified date is equal // TODO: improve merge here? assertTrue(target.merge(source));
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
final Date date = toDate("11:49"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("11:49:10"); assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10")); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
when(logonInfo.getLogonTime()).thenReturn(new Date()); when(logonInfo.getLogoffTime()).thenReturn(new Date()); when(logonInfo.getKickOffTime()).thenReturn(new Date()); when(logonInfo.getPwdLastChangeTime()).thenReturn(new Date()); when(logonInfo.getPwdCanChangeTime()).thenReturn(new Date()); when(logonInfo.getPwdMustChangeTime()).thenReturn(new Date());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
internal/amztime/iso8601_time_test.go
testCases := []struct { date time.Time expectedOutput string }{ { 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", }, {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 1.8K bytes - Viewed (0) -
cmd/signature-v4.go
if s3Err != ErrNone { return s3Err } // Extract date, if not present throw error. var date string if date = req.Header.Get(xhttp.AmzDate); date == "" { if date = r.Header.Get(xhttp.Date); date == "" { return ErrMissingDateHeader } } // Parse date header. t, e := time.Parse(iso8601Format, date) if e != nil { return ErrMalformedDate } // Query string.Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Dec 13 22:19:12 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
public void testToDate_ShortStyle() throws Exception { final Date date = toDate("10/9/7 11:49", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.4K bytes - Viewed (0) -
internal/bucket/lifecycle/transition.go
errTransitionInvalidDate = Errorf("Date must be provided in ISO 8601 format") errTransitionInvalid = Errorf("Exactly one of Days (0 or greater) or Date (positive ISO 8601 format) should be present in Transition.") errTransitionDateNotMidnight = Errorf("'Date' must be at midnight GMT") ) // TransitionDate is a embedded type containing time.Time to unmarshal // Date in Transition type TransitionDate struct { time.Time
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 5.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java
} /** * Gets the received date from a message by parsing the received headers. * * @param message the message to get the received date from * @return the received date or null if not found * @throws MessagingException if message access fails */ protected static Date getReceivedDate(final Message message) throws MessagingException { final Date today = new Date();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/Encdec.java
*/ public static int enc_time(final Date date, final byte[] dst, final int di, final int enc) { long t; return switch (enc) { case TIME_1970_SEC_32BE -> enc_uint32be((int) (date.getTime() / 1000L), dst, di); case TIME_1970_SEC_32LE -> enc_uint32le((int) (date.getTime() / 1000L), dst, di);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java
} /** * @throws Exception */ @Test public void testToCalendar() throws Exception { final Date date = new Date(); final Calendar cal = CalendarConversionUtil.toCalendar(date); assertEquals(date, cal.getTime()); } /** * * @throws Exception */ @Test public void testLocalize() throws Exception {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0)