- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 487 for getTime (0.04 sec)
-
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.4K bytes - Viewed (0) -
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
case Long l -> l; case Number n -> n.longValue(); case String s -> toLong(s); case java.util.Date d -> pattern != null ? Long.valueOf(new SimpleDateFormat(pattern).format(d)) : d.getTime(); case Boolean b -> b ? 1L : 0L; default -> toLong(o.toString()); }; } private static Long toLong(final String s) { if (StringUtil.isEmpty(s)) { return null;Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/FloatConversionUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.9K bytes - Viewed (0) -
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: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
case Integer i -> i; case Number n -> n.intValue(); case String s -> toInteger(s); case java.util.Date d -> pattern != null ? Integer.valueOf(new SimpleDateFormat(pattern).format(d)) : (int) d.getTime(); case Boolean b -> b ? 1 : 0; default -> toInteger(o.toString()); }; } private static Integer toInteger(final String s) { if (StringUtil.isEmpty(s)) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/ByteConversionUtil.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.7K bytes - Viewed (0) -
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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 8K bytes - Viewed (0)