Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for systemDefault (0.1 sec)

  1. src/main/java/org/codelibs/fess/es/log/exentity/SearchLog.java

            if (value instanceof final LocalDateTime ldt) {
                final ZonedDateTime zdt = ZonedDateTime.of(ldt, ZoneId.systemDefault());
                super.addFieldToSource(sourceMap, field, DateTimeFormatter.ISO_INSTANT.format(zdt));
            } else {
                super.addFieldToSource(sourceMap, field, value);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/exbhv/SearchLogBhv.java

            if (value != null) {
                try {
                    final Instant instant = Instant.from(DateTimeFormatter.ISO_INSTANT.parse(value.toString()));
                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

    
    // See explanation in `org.gradle.api.internal.file.archive.ZipEntryConstants#CONSTANT_TIME_FOR_ZIP_ENTRIES`
    private
    val zipEntryBaseTimestamp = LocalDateTime.of(1980, 2, 1, 0, 0, 0)
        .atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()
    
    
    object Attributes {
        val artifactType = Attribute.of("artifactType", String::class.java)
        val minified = Attribute.of("minified", Boolean::class.javaObjectType)
    }
    
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            if (format.contains("epoch_millis")) {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            if (format.contains("epoch_millis")) {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            } else if (format.contains("date_optional_time")) {
                return DateTimeFormatter.ISO_DATE_TIME.format(date);
            } else {
                return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli());
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            if (value == null) {
                buf.append("null");
            } else if (value instanceof LocalDateTime) {
                final String format =
                        ((LocalDateTime) value).atZone(ZoneId.systemDefault()).withZoneSameInstant(ZoneId.of("UTC")).format(ISO_8601_FORMATTER);
                buf.append('"').append(StringEscapeUtils.escapeJson(format)).append('"');
            } else if (value instanceof String[]) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        }
    
        public void test_getCurrentTimeAsLocalDateTime() {
            final long current =
                    1000 * systemHelper.getCurrentTimeAsLocalDateTime().atZone(ZoneId.systemDefault()).toInstant().getEpochSecond();
            final long now = System.currentTimeMillis();
            assertTrue(now + ">=" + current + " : " + (now - current), now >= current);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                }
            }
        }
    
        protected LocalDateTime parseDateTime(final String value, final DateTimeFormatter formatter) {
            return LocalDateTime.parse(value, formatter).atZone(ZoneId.systemDefault()).withZoneSameInstant(ZoneOffset.UTC).toLocalDateTime();
        }
    
        public OptionalEntity<?> getSearchLog(final String logType, final String id) {
            if (SearchLogPager.LOG_TYPE_CLICK.equalsIgnoreCase(logType)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        public LocalDateTime getCurrentTimeAsLocalDateTime() {
            final Instant instant = Instant.ofEpochMilli(getCurrentTimeAsLong());
            return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
        }
    
        public String getLogFilePath() {
            final String value = System.getProperty("fess.log.path");
            if (value != null) {
                return value;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.7.md

        ```
        kubectl create clusterrolebinding kube-system-default --serviceaccount=kube-system:default --clusterrole=cluster-admin
        ```
    
    ## **Known Issues**
    
    Populated via [v1.7.x known issues / FAQ accumulator](https://github.com/kubernetes/kubernetes/issues/46733)
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 308.7K bytes
    - Viewed (1)
Back to top