Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for setTime (0.12 sec)

  1. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

                return (Calendar) o;
            }
            final java.util.Date date = DateConversionUtil.toDate(o, pattern);
            if (date != null) {
                final Calendar cal = Calendar.getInstance();
                cal.setTime(date);
                return cal;
            }
            return null;
        }
    
        /**
         * ローカルの{@link TimeZone}と{@link Locale}をもつ{@link Calendar}に変換します。
         *
         * @param calendar
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileProp != null) {
                    ActivationProperty prop = new ActivationProperty();
    
                    prop.setName(profileProp.getName());
                    prop.setValue(profileProp.getValue());
    
                    activation.setProperty(prop);
                }
    
                ActivationOS profileOs = profileActivation.getOs();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java

            Metadata result = new Metadata();
            Plugin plugin = new Plugin();
            plugin.setPrefix(pluginInfo.goalPrefix);
            plugin.setArtifactId(pluginInfo.artifactId);
            plugin.setName(pluginInfo.name);
            result.getPlugins().add(plugin);
            return result;
        }
    
        @Override
        protected void merge(Metadata recessive) {
            List<Plugin> recessivePlugins = recessive.getPlugins();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_MediumStyle() throws Exception {
            final Calendar calendar = toCalendar("11:49:10");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(calendar.getTime()), is("11:49:10"));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_MediumStyle() throws Exception {
            final Calendar calendar = toCalendar("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(calendar.getTime()), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java

            Artifact a = createArtifact("a", "0.0.1-SNAPSHOT");
            File file = new File(localRepository.getBasedir(), localRepository.pathOf(a));
            file.delete();
            a.setFile(file);
    
            File touchFile = updateCheckManager.getTouchfile(a);
            touchFile.delete();
    
            assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository));
    
            file.getParentFile().mkdirs();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public boolean hasClassifier() {
            return artifact.hasClassifier();
        }
    
        /** {@inheritDoc} */
        public void setFile(File destination) {
            artifact.setFile(destination);
            project.getArtifact().setFile(destination);
        }
    
        /** {@inheritDoc} */
        public String getBaseVersion() {
            return artifact.getBaseVersion();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            syspropActivated.setId("syspropActivated");
    
            Activation syspropActivation = new Activation();
    
            ActivationProperty syspropProperty = new ActivationProperty();
            syspropProperty.setName("java.version");
    
            syspropActivation.setProperty(syspropProperty);
    
            syspropActivated.setActivation(syspropActivation);
    
            Profile defaultActivated = new Profile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        }
    
        public PopularWordsRequestBuilder setIndex(final String index) {
            request.setIndex(index);
            return this;
        }
    
        public PopularWordsRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
        public PopularWordsRequestBuilder addTag(final String tag) {
            request.addTag(tag);
            return this;
        }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/MultipleSetContainsBenchmark.java

          throw new SkipThisScenarioException();
        }
    
        Random rng = new Random();
        for (int i = 0; i < 0x1000; i++) {
          double setSize = rng.nextDouble();
          if (setSize < emptySetProportion) {
            sets[i] = ImmutableSet.of();
          } else if (setSize < emptySetProportion + singletonSetProportion) {
            sets[i] = ImmutableSet.of(PRESENT);
          } else {
            sets[i] = ImmutableSet.of(PRESENT, new Object());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top