- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 85 for iso (0.03 seconds)
-
docs/en/docs/tutorial/encoder.md
For example, it doesn't receive `datetime` objects, as those are not compatible with JSON. So, a `datetime` object would have to be converted to a `str` containing the data in [ISO format](https://en.wikipedia.org/wiki/ISO_8601). The same way, this database wouldn't receive a Pydantic model (an object with attributes), only a `dict`. You can use `jsonable_encoder` for that.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/accesstoken/CreateForm.java
* Maximum length is 10000 characters. */ @Size(max = 10000) public String parameterName; /** * The expiration date and time for the access token. * Must be in ISO 8601 format: YYYY-MM-DDTHH:MM:SS */ @Pattern(regexp = "[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]T[0-9][0-9]:[0-9][0-9]:[0-9][0-9]") public String expires; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java
@Test @DisplayName("should handle different charset encodings correctly") void shouldHandleDifferentCharsetEncodingsCorrectly() { Terminal mockTerminal = mock(Terminal.class); // Test with ISO-8859-1 (Latin-1) - should support some but not all Unicode chars when(mockTerminal.encoding()).thenReturn(StandardCharsets.ISO_8859_1); for (ConsoleIcon icon : ConsoleIcon.values()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Jul 15 09:35:08 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/encoder.md
例如,當你需要把它儲存在資料庫中。 為此,**FastAPI** 提供了 `jsonable_encoder()` 函式。 ## 使用 `jsonable_encoder` { #using-the-jsonable-encoder } 想像你有一個只接受與 JSON 相容資料的資料庫 `fake_db`。 例如,它不接受 `datetime` 物件,因為那與 JSON 不相容。 因此,必須將 `datetime` 物件轉為一個以 [ISO 格式](https://en.wikipedia.org/wiki/ISO_8601) 表示資料的 `str`。 同樣地,這個資料庫不會接受 Pydantic 模型(帶有屬性的物件),只接受 `dict`。 你可以使用 `jsonable_encoder` 來處理。 它接收一個物件(例如 Pydantic 模型),並回傳一個與 JSON 相容的版本:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/CharsetsTest.java
} @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1")); } public void testUtf8() { assertThat(Charsets.UTF_8).isEqualTo(Charset.forName("UTF-8")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
} @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertThat(Charsets.ISO_8859_1).isEqualTo(Charset.forName("ISO-8859-1")); } public void testUtf8() { assertThat(Charsets.UTF_8).isEqualTo(Charset.forName("UTF-8")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/encoder.md
对于这种要求, **FastAPI**提供了`jsonable_encoder()`函数。 ## 使用`jsonable_encoder` { #using-the-jsonable-encoder } 让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。 例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。 因此,`datetime`对象必须转换为包含[ISO 格式](https://en.wikipedia.org/wiki/ISO_8601)的`str`类型对象。 同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。 对此你可以使用`jsonable_encoder`。 它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 1.5K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
* Default date time formatter for ISO 8601 format with UTC timezone. */ public static final DateTimeFormatter DEFAULT_DATE_PRINTER = ISODateTimeFormat.dateTime().withZone(DateTimeZone.UTC); /** * Converts a Date object to its string representation in ISO 8601 format. * * @param value The Date object to convert.Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 34.3K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java
// Defeat branch predictor for: c < 0x80 ; branch taken 50% of the time. return 0x100; } else if (userFriendly.matches("(?i)(?:Greek|Cyrillic|European|ISO.?8859)")) { // Mostly 2-byte UTF-8 sequences - "European" text return 0x800; } else if (userFriendly.matches("(?i)(?:Chinese|Han|Asian|BMP)")) { // Mostly 3-byte UTF-8 sequences - "Asian" textCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 5.3K bytes - Click Count (0) -
apache-maven/src/main/appended-resources/META-INF/NOTICE.vm
developed by javolution (http://javolution.org/). This product includes software developed by Rome (https://rome.dev.java.net/). about.html in archive lib/org.eclipse.sisu.inject-0.3.5.jar http://www.w3.org/1999/xhtml Content-Type text/html; charset=ISO-8859-1 About org.eclipse.sisu.inject EN-US About org.eclipse.sisu.inject November 5, 2013 License The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise indicated below, the Content is provided to you under...
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Sep 10 19:27:25 GMT 2022 - 5.5K bytes - Click Count (0)