Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 662 for date (0.17 sec)

  1. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

                final SimpleDateFormat format = new SimpleDateFormat(pattern, locale);
                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return date;
            }
            final Timestamp timestamp = toSqlTimestampJdbcEscape(str);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

        public void testToDate_ShortStyle() throws Exception {
            final Date date = toDate("10/9/7 11:49", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

        }
    
        protected Date getLastModified(final Map<String, Object> dataMap, final ResponseData responseData) {
            final Object lastModifiedObj = dataMap.get(fessConfig.getIndexFieldLastModified());
            if (lastModifiedObj instanceof Date) {
                return (Date) lastModifiedObj;
            }
            if (lastModifiedObj instanceof String) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

            final Date date = new Date(1);
            assertThat(new CopyOptions().convertValue(date, "aaa", Date.class), is((Object) date));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testDateConverter() throws Exception {
            assertThat(new CopyOptions().dateConverter("yyyyMMdd").convertValue(new java.util.Date(0), "aaa", String.class),
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 12K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return date;
            }
            final Time time = toSqlTimeJdbcEscape(str);
            if (time != null) {
                return new Date(time.getTime());
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.java

          System.out.println(response.request().header("Date"));
        }
      }
    
      static class CurrentDateInterceptor implements Interceptor {
        @Override public Response intercept(Chain chain) throws IOException {
          Request request = chain.request();
          Headers newHeaders = request.headers()
              .newBuilder()
              .add("Date", new Date())
              .build();
          Request newRequest = request.newBuilder()
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Oct 31 15:32:50 GMT 2018
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileBasicInfo.java

    
        @Override
        public String toString () {
            return new String(
                "SmbQueryFileBasicInfo[" + "createTime=" + new Date(this.createTime) + ",lastAccessTime=" + new Date(this.lastAccessTime)
                        + ",lastWriteTime=" + new Date(this.lastWriteTime) + ",changeTime=" + new Date(this.changeTime) + ",attributes=0x"
                        + Hexdump.toHexString(this.attributes, 4) + "]");
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadataGenerator.java

            versions = new LinkedHashMap<>();
            processedVersions = new LinkedHashMap<>();
            timestamp = (Date) ConfigUtils.getObject(session, new Date(), "maven.startTime");
    
            /*
             * NOTE: This should be considered a quirk to support interop with Maven's legacy ArtifactDeployer which
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.dict;
    
    import java.util.Base64;
    import java.util.Date;
    import java.util.regex.Pattern;
    
    import javax.annotation.Resource;
    
    import org.codelibs.fess.Constants;
    
    public abstract class DictionaryCreator {
    
        protected Pattern pattern;
    
        @Resource
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/LongConversionUtil.java

            } else if (o instanceof String) {
                return toLong((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Long.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (long) 1 : (long) 0;
            } else {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top