- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 61 for ISO (0.03 sec)
-
maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java
import java.util.Date; import java.util.GregorianCalendar; import java.util.Map; import java.util.Properties; import java.util.TimeZone; /** * MavenBuildTimestamp */ public class MavenBuildTimestamp { // ISO 8601-compliant timestamp for machine readability public static final String DEFAULT_BUILD_TIMESTAMP_FORMAT = "yyyy-MM-dd'T'HH:mm:ss'Z'";
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Nov 22 13:26:01 UTC 2022 - 2.7K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertyResourceBundleFallbackCharset.java
/** * A Java 8 compliant Charset implementation for reading properties files. It first tries * to load the properties file using UTF-8 encoding and if it encounters an error, tries to * load the file using ISO-8859-1 encoding. * * This class is only necessary because {@code sun.util.PropertyResourceBundleCharset} is not * available in Java 8. This class can be removed in favor of {@code sun.util.PropertyResourceBundleCharset}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/encoder.md
JSON互換のデータのみを受信するデータベース`fase_db`があるとしましょう。 例えば、`datetime`オブジェクトはJSONと互換性がないので、このデーターベースには受け取られません。 そのため、`datetime`オブジェクトは<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO形式</a>のデータを含む`str`に変換されなければなりません。 同様に、このデータベースはPydanticモデル(属性を持つオブジェクト)を受け取らず、`dict`だけを受け取ります。 そのために`jsonable_encoder`を使用することができます。 Pydanticモデルのようなオブジェクトを受け取り、JSON互換版を返します: ```Python hl_lines="5 22"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon Jan 22 20:09:02 UTC 2024 - 1.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskEncodingIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
So, a `datetime` object would have to be converted to a `str` containing the data in <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a>. 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.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
assertEquals(Charset.forName("US-ASCII"), Charsets.US_ASCII); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testIso88591() { assertEquals(Charset.forName("ISO-8859-1"), Charsets.ISO_8859_1); } public void testUtf8() { assertEquals(Charset.forName("UTF-8"), Charsets.UTF_8); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu May 04 09:41:29 UTC 2023 - 2.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no formato <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO</a>. Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`. Você pode usar a função `jsonable_encoder` para resolver isso.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 1.9K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy
"chinese": "敏捷的棕色狐狸跳过了懒狗", "cyrillic": "здравствуйте", "hungarian": "Árvíztűrő tükörfúrógép", ].values().join("-") private static final DEFAULT_ENCODINGS = [ "UTF-8", "ISO-8859-1", "windows-1250", ] @Issue("https://github.com/gradle/gradle/issues/9877") @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java
while (offset < value.length()) { final int unicodeChar = value.codePointAt(offset); if (Character.isISOControl(unicodeChar)) { throw failure(String.format("%s cannot contain ISO control character '\\u%04x'.", name, unicodeChar)); } if ('\\' == unicodeChar || ('/' == unicodeChar && !allowSlash)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 2.9K bytes - Viewed (0) -
docs/zh/docs/tutorial/encoder.md
## 使用`jsonable_encoder` 让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。 例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。 因此,`datetime`对象必须将转换为包含<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO格式化</a>的`str`类型对象。 同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。 对此你可以使用`jsonable_encoder`。 它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本: === "Python 3.10+" ```Python hl_lines="4 21"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 1.7K bytes - Viewed (0)