- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 188 for Tate (0.16 sec)
-
tests/test_serialize_response_dataclass.py
def get_coerce(): return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"} @app.get("/items/validlist", response_model=List[Item]) def get_validlist(): return [ {"name": "foo", "date": datetime(2021, 7, 26)}, {"name": "bar", "date": datetime(2021, 7, 26), "price": 1.0}, { "name": "baz", "date": datetime(2021, 7, 26), "price": 2.0,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 26 13:56:47 GMT 2022 - 4.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt
"EEE MMM d yyyy HH:mm:ss z", ) private val BROWSER_COMPATIBLE_DATE_FORMATS = arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size) /** Returns the date for this string, or null if the value couldn't be parsed. */ fun String.toHttpDateOrNull(): Date? { if (isEmpty()) return null val position = ParsePosition(0) var result = STANDARD_DATE_FORMAT.get().parse(this, position) if (position.index == length) {
Plain Text - Registered: Fri Apr 26 11:42:10 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
final Date date = toDate("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /**
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.4K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration_test.go
}, { // Expiration with invalid date inputXML: ` <Expiration> <Date>invalid date</Date> </Expiration>`, expectedErr: errLifecycleInvalidDate, }, { // Expiration with both number of days nor a date inputXML: `<Expiration> <Date>2019-04-20T00:01:00Z</Date> </Expiration>`,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 4.1K 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", }, {
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Dec 12 18:28:30 GMT 2022 - 1.8K 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")); } /**
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.5K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
return nil } return e.EncodeElement(int(eDays), startElement) } // ExpirationDate is a embedded type containing time.Time to unmarshal // Date in Expiration type ExpirationDate struct { time.Time } // UnmarshalXML parses date from Expiration and validates date format func (eDate *ExpirationDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error { var dateStr string
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Wed Feb 21 20:28:34 GMT 2024 - 6.6K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
} public void test_parseDate() { Date date; date = FessFunctions.parseDate(""); assertNull(date); date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z"); assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date)); date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 5.9K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
runningDocsTestTask.get() -> "from current time because testing docs" runningOnCi.get() -> "from current time because CI" else -> "from current date" } } private fun Date.withoutTime(): Date = SimpleDateFormat("yyyy-MM-dd").run { parse(format(this@withoutTime)) }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/AccessToken.java
asDocMeta().version(version); } public Date getExpires() { if (getExpiredTime() == null) { return null; } return new Date(getExpiredTime()); } public void setExpires(final Date date) { setExpiredTime(date != null ? date.getTime() : null); } @Override public String toString() {
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.9K bytes - Viewed (0)