Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 786 for locabs (0.13 sec)

  1. src/time/format_rfc3339.go

    		}
    		t.addSec(-int64(zoneOffset))
    
    		// Use local zone with the given offset if possible.
    		if _, offset, _, _, _ := local.lookup(t.unixSec()); offset == zoneOffset {
    			t.setLoc(local)
    		} else {
    			t.setLoc(FixedZone("", zoneOffset))
    		}
    	}
    	return t, true
    }
    
    func parseStrictRFC3339(b []byte) (Time, error) {
    	t, ok := parseRFC3339(b, Local)
    	if !ok {
    		t, err := Parse(RFC3339, string(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 18 19:59:26 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/time.gox

     func (t <type 3>) Before (u <type 3>) <type -15>;
     func (t <type 3>) Equal (u <type 3>) <type -15>;
     func (t <type 3>) IsZero () <type -15>;
     func (t <type 3>) .time.abs () <type -8>;
     func (t <type 3>) .time.locabs () (name <type -16>, offset <type -11>, abs <type -8>);
     func (t <type 3>) Date () (year <type -11>, month <type 18 "Month" <type -11>
     func (m <type 18>) String () <type -16>;
    >, day <type -11>);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  3. src/time/time.go

    }
    
    func unixTime(sec int64, nsec int32) Time {
    	return Time{uint64(nsec), sec + unixToInternal, Local}
    }
    
    // UTC returns t with the location set to UTC.
    func (t Time) UTC() Time {
    	t.setLoc(&utcLoc)
    	return t
    }
    
    // Local returns t with the location set to local time.
    func (t Time) Local() Time {
    	t.setLoc(Local)
    	return t
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  4. src/time/format.go

    		t.addSec(-int64(zoneOffset))
    
    		// Look for local zone with the given offset.
    		// If that zone was in effect at the given time, use it.
    		name, offset, _, _, _ := local.lookup(t.unixSec())
    		if offset == zoneOffset && (zoneName == "" || name == zoneName) {
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise create fake zone to record offset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/LocaleSupportDaemonIntegrationTest.groovy

                    }
                }
            """
    
            when:
            runWithLocale locales[0]
    
            then:
            ranWithLocale locales[0]
            daemons.daemons.size() == 1
    
            when:
            runWithLocale locales[1]
    
            then:
            ranWithLocale locales[1]
            daemons.daemons.size() == 2
        }
    
        def "locale is restored after build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/AbstractJUnit4CategoriesOrTagsCoverageIntegrationTest.groovy

                sourceFile('LocaleHolder.java').withSource("""
                    import java.util.Locale;
    
                    class LocaleHolder {
                        private static Locale locale;
    
                        public static Locale set(Locale locale) {
                            Locale old = LocaleHolder.locale;
                            LocaleHolder.locale = locale;
                            return old;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 19.7K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/jupiter/JUnitJupiterCategoriesOrTagsCoverageIntegrationTest.groovy

                    @ExtendWith(Locales.class)
                    @Tag("TagA")
                    public class SomeMoreLocaleTests {
                        @TestTemplate
                        public void someMoreTest1(Locale locale) {
                            System.out.println("Locale in use: " + locale);
                        }
    
                        @TestTemplate
                        public void someMoreTest2(Locale locale) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/attributes/ImmutableAttributes.java

         *
         * @param key the attribute to locate in this container (name <strong>and type</strong> much match)
         * @return the value for the attribute in this container, or {@link AttributeValue#MISSING} if not present
         */
        <T> AttributeValue<T> findEntry(Attribute<T> key);
    
        /**
         * Locates the entry for the attribute with the given name.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

     * under the License.
     */
    package org.apache.maven.model.locator;
    
    import java.io.File;
    import java.nio.file.Path;
    
    /**
     * Locates a POM file within a project base directory.
     *
     */
    public interface ModelLocator {
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

         */
        String STRICT = "strict";
    
        /**
         * Locates the pom in the given directory.
         *
         * @param dir the directory to locate the pom for, never {@code null}
         * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser
         */
        @Nonnull
        Optional<Source> locate(@Nonnull Path dir);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top