Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 195 for Date (0.12 sec)

  1. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            }
        }
    
        protected String toRangeLocalDateTimeString(LocalDateTime date, String format) {
            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 {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            }
        }
    
        protected String toRangeLocalDateTimeString(LocalDateTime date, String format) {
            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 {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                return null;
            }
    
            if (clazz.isAssignableFrom(String.class)) {
                return (T) value.toString();
            }
            if (clazz.isAssignableFrom(Date.class)) {
                if (value instanceof Date) {
                    return (T) value;
                }
                return (T) FessFunctions.parseDate(value.toString());
            }
            if (clazz.isAssignableFrom(Long.class)) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.io.Writer;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    import org.codelibs.core.io.CloseableUtil;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/PacDataInputStream.java

            return ( readInt() ) & 0xffffffffL;
        }
    
    
        public int readUnsignedShort () throws IOException {
            return ( readShort() ) & 0xffff;
        }
    
    
        public Date readFiletime () throws IOException {
            Date date = null;
    
            long last = readUnsignedInt();
            long first = readUnsignedInt();
            if ( first != 0x7fffffffL && last != 0xffffffffL ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java

    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty;
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Date;
    
    import org.codelibs.core.beans.Converter;
    import org.codelibs.core.convert.StringConversionUtil;
    import org.codelibs.core.convert.TimestampConversionUtil;
    
    /**
     * 日時用のコンバータです。
     *
     * @author higa
     */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            }
        }
    
        protected String toRangeLocalDateTimeString(LocalDateTime date, String format) {
            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 {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/FileAttributesTest.java

    import static org.junit.Assert.assertTrue;
    
    import java.io.IOException;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.Collection;
    import java.util.Date;
    import java.util.Map;
    
    import org.junit.Assert;
    import org.junit.Assume;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate;
    
            if (file.exists()) {
                lastCheckDate = new Date(file.lastModified());
            } else {
                File touchfile = getTouchfile(artifact);
                lastCheckDate = readLastUpdated(touchfile, getRepositoryKey(repository));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top