Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for dateformat (0.17 sec)

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

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static java.text.DateFormat.FULL;
    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getTimeInstance;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static java.text.DateFormat.FULL;
    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getDateTimeInstance;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    import static org.codelibs.core.lang.StringUtil.isNotEmpty;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import static java.text.DateFormat.FULL;
    import static java.text.DateFormat.LONG;
    import static java.text.DateFormat.MEDIUM;
    import static java.text.DateFormat.SHORT;
    import static java.text.DateFormat.getDateInstance;
    import static org.codelibs.core.collection.MultiIterator.iterable;
    import static org.codelibs.core.lang.StringUtil.isEmpty;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

      internal fun parseUtcTime(string: String): Long {
        val utc = TimeZone.getTimeZone("GMT")
        val dateFormat =
          SimpleDateFormat("yyMMddHHmmss'Z'").apply {
            timeZone = utc
            set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z.
          }
    
        try {
          val parsed = dateFormat.parse(string)
          return parsed.time
        } catch (e: ParseException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner.go

    		// If the secret has not been labeled with invalid since date or the label value has invalid format, update the invalidSince label with the current date value.
    		_, err = time.Parse(dateFormat, invalidSince)
    		if err != nil {
    			invalidSince = now.Format(dateFormat)
    			logger.Info("Mark the auto-generated service account token as invalid", "invalidSince", invalidSince, "secret", klog.KRef(secret.Namespace, secret.Name))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 10K bytes
    - Viewed (0)
  6. pkg/controller/serviceaccount/legacy_serviceaccount_token_cleaner_test.go

    	var deletionTime *metav1.Time
    	if deletionTimeString == "" {
    		deletionTime = nil
    	} else {
    		deletionTime = &metav1.Time{Time: time.Now().UTC()}
    	}
    	creationTime, _ := time.Parse(dateFormat, creationTimeString)
    	labels := map[string]string{}
    	if lastUsedLabel != "" {
    		labels[serviceaccount.LastUsedLabelKey] = lastUsedLabel
    	}
    	if invalidSinceLabel != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/CrawlingInfoService.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.service;
    
    import java.io.IOException;
    import java.io.Reader;
    import java.io.Writer;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.time.LocalDateTime;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    import java.util.Set;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. src/mdo/reader.vm

         *
         * @param s a s object.
         * @param parser a parser object.
         * @param dateFormat a dateFormat object.
         * @param attribute a attribute object.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return Date
         */
        private Date getDateValue(String s, String attribute, String dateFormat, XMLStreamReader parser)
            throws XMLStreamException {
            if (s != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  9. maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

    import javax.xml.stream.XMLInputFactory;
    import javax.xml.stream.XMLOutputFactory;
    
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.TimeZone;
    
    import com.ctc.wstx.stax.WstxInputFactory;
    import com.ctc.wstx.stax.WstxOutputFactory;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exec/Crawler.java

            if (crawlingInfoHelper != null) {
                final SimpleDateFormat dateFormat = new SimpleDateFormat(CoreLibConstants.DATE_FORMAT_ISO_8601_EXTEND);
                crawlingInfoHelper.putToInfoMap(key, dateFormat.format(new Date()));
            }
        }
    
        private void joinCrawlerThread(final Thread crawlerThread) {
            if (crawlerThread != null) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top