- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for forPattern (0.1 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) -
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) -
build-tools-internal/src/main/resources/eclipse.settings/org.eclipse.jdt.core.prefs
org.eclipse.jdt.core.circularClasspath=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.formatter.comment.line_length=140 org.eclipse.jdt.core.formatter.lineSplit=140 org.eclipse.jdt.core.formatter.tabulation.char=space org.eclipse.jdt.core.formatter.tabulation.size=4 # Silence warnings about references to jdk internals. We intentionally use some
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 08 16:53:28 GMT 2021 - 1.7K bytes - Click Count (0) -
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.0.xml</configFile> </configuration>
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Dec 20 04:17:15 GMT 2025 - 4.7K bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt
handler.level = Level.FINE handler.formatter = MessageFormatter activeLogger.addHandler(handler) } if (sslDebug) { val activeLogger = getLogger("javax.net.ssl") activeLogger.level = Level.FINEST handler.level = Level.FINEST handler.formatter = MessageFormatter activeLogger.addHandler(handler) }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.7K bytes - Click Count (0) -
src/main/assemblies/files/logging.properties
handlers=java.util.logging.FileHandler .level=INFO java.util.logging.ConsoleHandler.level=INFO java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.FileHandler.level=INFO java.util.logging.FileHandler.pattern=${fess.log.path}/server_%g.log java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter java.util.logging.FileHandler.count=10 # Suppress warning logsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Aug 21 11:31:50 GMT 2016 - 475 bytes - Click Count (0) -
okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt
import java.time.temporal.ChronoField.SECOND_OF_MINUTE import java.util.logging.Formatter import java.util.logging.LogRecord /** * Is Java8 Data and Time really this bad, or is writing this on a plane from just javadocs a bad * idea? * * Why so much construction? */ class OneLineLogFormat : Formatter() { private val d = DateTimeFormatterBuilder() .appendValue(HOUR_OF_DAY, 2)Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.1K bytes - Click Count (1) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
// otherwise we'll use the current timestamp by default and miss val formatter = SimpleDateFormat("yyyyMMddHHmmssZ").apply { timeZone = TimeZone.getTimeZone("UTC") } return formatter.format(Date(0L)) } val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0)