Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for dateformat (0.2 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. pkg/controlplane/controller/legacytokentracking/controller_test.go

    			},
    		},
    		{
    			name: "create configmap should ignore AlreadyExists error [no cache, live object exists]",
    			clientObjects: []runtime.Object{
    				&corev1.ConfigMap{ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceSystem, Name: ConfigMapName}, Data: map[string]string{ConfigMapDataKey: now.Format(dateFormat)}},
    			},
    			expectedActions: []core.Action{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 19 17:33:34 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/StyledTextOutputBackedRenderer.java

                LogLevelChangeEvent changeEvent = (LogLevelChangeEvent) event;
                boolean newLogLevelIsDebug = changeEvent.getNewLogLevel() == LogLevel.DEBUG;
                if (newLogLevelIsDebug && dateFormat == null) {
                    dateFormat = new SimpleDateFormat(ISO_8601_DATE_TIME_FORMAT);
                }
                debugOutput = newLogLevelIsDebug;
            }
            if (event instanceof RenderableOutputEvent) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/MavenBuildTimestamp.java

            }
            if (time == null) {
                time = Instant.now();
            }
            SimpleDateFormat dateFormat = new SimpleDateFormat(timestampFormat);
            dateFormat.setCalendar(new GregorianCalendar());
            dateFormat.setTimeZone(DEFAULT_BUILD_TIME_ZONE);
            formattedTimestamp = dateFormat.format(new Date(time.toEpochMilli()));
        }
    
        public String formattedTimestamp() {
            return formattedTimestamp;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

            }
            if (time == null) {
                time = new Date();
            }
            SimpleDateFormat dateFormat = new SimpleDateFormat(timestampFormat);
            dateFormat.setCalendar(new GregorianCalendar());
            dateFormat.setTimeZone(DEFAULT_BUILD_TIME_ZONE);
            formattedTimestamp = dateFormat.format(time);
        }
    
        public String formattedTimestamp() {
            return formattedTimestamp;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

    /**
     * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such
     * cookies are on the fast path.
     */
    private val STANDARD_DATE_FORMAT =
      object : ThreadLocal<DateFormat>() {
        override fun initialValue(): DateFormat {
          // Date format specified by RFC 7231 section 7.1.1.1.
          return SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss 'GMT'", Locale.US).apply {
            isLenient = false
            timeZone = UTC
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/TemplateOperationFactory.java

            this.templatepackage = templatepackage;
            this.defaultBindings = loadDefaultBindings();
        }
    
        private Map<String, String> loadDefaultBindings() {
            String now = DateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT).format(new Date());
            Map<String, String> map = new LinkedHashMap<>(3);
            map.put("genDate", now);
            map.put("genUser", System.getProperty("user.name"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. internal/amztime/parse.go

    var ErrMalformedDate = errors.New("malformed date")
    
    // Parse parses date string via supported amz date formats.
    func Parse(amzDateStr string) (time.Time, error) {
    	for _, dateFormat := range amzDateFormats {
    		amzDate, err := time.Parse(dateFormat, amzDateStr)
    		if err == nil {
    			return amzDate, nil
    		}
    	}
    	return time.Time{}, ErrMalformedDate
    }
    
    var httpTimeFormats = []string{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top