Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for SetTime (0.39 sec)

  1. 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: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/runtime/vdso_test.go

    				// signal from the child process.
    				t.Log(err)
    				testenv.SkipFlaky(t, 63734)
    			}
    		}
    		t.Fatal(err)
    	}
    
    	if got := bytes.Count(out, []byte("gettime")); got >= calls {
    		t.Logf("found %d gettime calls, want < %d", got, calls)
    
    		// Try to double-check that a C program uses the VDSO.
    		tempdir := t.TempDir()
    		cfn := filepath.Join(tempdir, "time.c")
    		cexe := filepath.Join(tempdir, "time")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ClientForwardingTestOutputOperationListener.java

                DefaultTestOutputResult result = new DefaultTestOutputResult(progressEvent.getTime(), progressEvent.getTime(), destination, progress.getOutput().getMessage());
                eventConsumer.progress(new DefaultTestOutputEvent(progressEvent.getTime(), descriptor, result));
            }
        }
    
        private static int getDestination(TestOutputEvent.Destination destination) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Byte.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (byte) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (byte) 1 : (byte) 0;
            } else {
                return toByte(o.toString());
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Double(new SimpleDateFormat(pattern).format(o));
                }
                return new Double(((java.util.Date) o).getTime());
            } else {
                return toDouble(o.toString());
            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Integer.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (int) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? 1 : 0;
            } else {
                return toInteger(o.toString());
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
                return toShort(o.toString());
            }
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Float(new SimpleDateFormat(pattern).format(o));
                }
                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-operations/src/main/java/org/gradle/internal/operations/OperationProgressEvent.java

        private final Object details;
    
        public OperationProgressEvent(long time, @Nullable Object details) {
            this.time = time;
            this.details = details;
        }
    
        public long getTime() {
            return time;
        }
    
        @Nullable
        public Object getDetails() {
            return details;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 14:19:43 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top