Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for ISO (0.01 sec)

  1. subprojects/core-api/src/main/java/org/gradle/work/NormalizeLineEndings.java

     * when snapshotting inputs. Two files with the same contents but different line endings
     * will be considered equivalent.
     *
     * Line ending normalization is only supported with ASCII encoding and its supersets (i.e.
     * UTF-8, ISO-8859-1, etc).  Other encodings (e.g. UTF-16) will be treated as binary files
     * and will not be subject to line ending normalization.
     *
     * <p>This annotation should be attached to the getter method in Java or the property in Groovy.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 13 17:35:59 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/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: Fri Apr 12 10:50:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyTaskEncodingIntegrationSpec.groovy

                        }
                    }
                }
            """
    
            file("res", nonAsciiFileName) << "foo"
    
            when:
            executer.withDefaultCharacterEncoding("ISO-8859-1").withTasks("copyFiles")
            executer.run()
    
            then:
            file("build/resources", nonAsciiFileName).exists()
        }
    
        @Issue("https://issues.gradle.org/browse/GRADLE-2181")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/hash/marshal_test.go

    	{"crc32", func() hash.Hash { return crc32.NewIEEE() }, fromHex("63726301ca87914dc956d3e8")},
    	{"crc64", func() hash.Hash { return crc64.New(crc64.MakeTable(crc64.ISO)) }, fromHex("6372630273ba8484bbcd5def5d51c83c581695be")},
    	{"fnv32", func() hash.Hash { return fnv.New32() }, fromHex("666e760171ba3d77")},
    	{"fnv32a", func() hash.Hash { return fnv.New32a() }, fromHex("666e76027439f86f")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
Back to top