- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 59 for forPattern (0.06 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterBenchmark.java
@SuppressWarnings("unused") // invoked by benchmarking framework public class DateFormatterBenchmark { private final DateFormatter javaFormatter = DateFormatter.forPattern("8year_month_day||ordinal_date||epoch_millis"); private final DateFormatter jodaFormatter = Joda.forPattern("year_month_day||ordinal_date||epoch_millis"); @Benchmark public TemporalAccessor parseJavaDate() { return javaFormatter.parse("1234567890"); }Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 1.7K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java
@Warmup(iterations = 10) @Measurement(iterations = 5) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) public class RoundingBenchmark { private static final DateFormatter FORMATTER = DateFormatter.forPattern("date_optional_time"); @Param( { "2000-01-01 to 2020-01-01", // A super long range "2000-10-01 to 2000-11-01", // A whole month which is pretty believableCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 4.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/time/DateFormatterFromBenchmark.java
@OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) @SuppressWarnings("unused") // invoked by benchmarking framework public class DateFormatterFromBenchmark { private final TemporalAccessor accessor = DateFormatter.forPattern("epoch_millis").parse("1234567890"); @Benchmark public TemporalAccessor benchmarkFrom() { // benchmark an accessor that does not contain a timezoneCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 1.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
final Calendar cal = DateConverter.toCalendar(value); return cal != null ? cal.getTime() : null; } final long time = Joda.forPattern(format).parseMillis(value); return new Date(time); } catch (final Exception e) { return null; } } /**
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 25.4K bytes - Click Count (1) -
build-tools-internal/formatterConfig.xml
<setting id="org.eclipse.jdt.core.formatter.parentheses_positions_in_enum_constant_declaration" value="separate_lines_if_wrapped"/> <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/> <setting id="org.eclipse.jdt.core.formatter.align_with_spaces" value="false"/>
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 43.2K bytes - Click Count (0) -
src/config/eclipse/formatter/java.xml
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/> <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Mar 23 21:27:06 GMT 2015 - 30.5K bytes - Click Count (2) -
src/config/eclipse/formatter/javascript.xml
<setting id="org.eclipse.wst.jsdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/> <setting id="org.eclipse.wst.jsdt.core.formatter.indent_empty_lines" value="false"/> <setting id="org.eclipse.wst.jsdt.core.formatter.alignment_for_compact_if" value="16"/> <setting id="org.eclipse.wst.jsdt.core.formatter.brace_position_for_annotation_type_declaration" value="end_of_line"/>
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Mar 23 21:27:06 GMT 2015 - 29.2K bytes - Click Count (0) -
src/main/config/eclipse/formatter/java.xml
<setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/> <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/> <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/> <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Sep 17 06:39:42 GMT 2017 - 30.5K bytes - Click Count (1) -
pom.xml
<plugin> <groupId>net.revelc.code.formatter</groupId> <artifactId>formatter-maven-plugin</artifactId> <version>2.26.0</version> <executions> <execution> <goals> <goal>format</goal> </goals> </execution> </executions> <configuration> <configFile>https://www.codelibs.org/assets/formatter/eclipse-formatter-1.1.xml</configFile> </configuration>
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Dec 20 04:15:34 GMT 2025 - 4.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
*/ public IndexExportJob format(final String format) { this.formatter = createFormatter(format); return this; } /** * Creates a formatter for the given format name. * * @param format the format name * @return the formatter instance * @throws IllegalArgumentException if the format is null, empty, or not supported */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0)