Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 98 for TimeZone (0.21 sec)

  1. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            // logic from metadata.mdo, class "Versioning"
            TimeZone timezone = TimeZone.getTimeZone("UTC");
            DateFormat fmt =
                    new SimpleDateFormat(forSnapshotTimestamp ? DEFAULT_SNAPSHOT_TIMESTAMP_FORMAT : DEFAULT_DATE_FORMAT);
            fmt.setCalendar(new GregorianCalendar());
            fmt.setTimeZone(timezone);
            return fmt.format(date);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. src/archive/zip/struct.go

    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    	// location of the Modified time.
    	Modified time.Time
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java

     */
    package org.codelibs.core.convert;
    
    import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull;
    
    import java.util.Calendar;
    import java.util.Locale;
    import java.util.TimeZone;
    
    /**
     * {@link Calendar}用の変換ユーティリティです。
     *
     * @author higa
     */
    public abstract class CalendarConversionUtil {
    
        /**
         * {@link Calendar}に変換します。
         *
         * @param o
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

      }
    
      private fun formatDate(date: Date): String? {
        val rfc1123: DateFormat = SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US)
        rfc1123.timeZone = TimeZone.getTimeZone("GMT")
        return rfc1123.format(date)
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. api/maven-api-metadata/src/main/mdo/metadata.mdo

        }
    
        public void setLastUpdatedTimestamp( java.util.Date date )
        {
            java.util.TimeZone timezone = java.util.TimeZone.getTimeZone( "UTC" );
            java.text.DateFormat fmt = new java.text.SimpleDateFormat( "yyyyMMddHHmmss" );
            fmt.setTimeZone( timezone );
            setLastUpdated( fmt.format( date ) );
        }
              ]]></code>
            </codeSegment>
          </codeSegments>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java

            public int elapsedt;
            public int msecs;
            public int hours;
            public int mins;
            public int secs;
            public int hunds;
            public int timezone;
            public int tinterval;
            public int day;
            public int month;
            public int year;
            public int weekday;
    
            public void encode(NdrBuffer _dst) throws NdrException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 18.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final int TID_OFFSET        = 24;
        static final int HEADER_LENGTH     = 32;
    
        static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L;
        static final TimeZone TZ = TimeZone.getDefault();
    
        static final boolean USE_BATCHING = Config.getBoolean( "jcifs.smb1.smb.client.useBatching", true );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  8. common/scripts/setup_env.sh

      IMAGE_VERSION=master-c67afcee625a4b91bdde7da65c9867f98248691e
    fi
    if [[ "${IMAGE_NAME:-}" == "" ]]; then
      IMAGE_NAME=build-tools
    fi
    
    DOCKER_GID="${DOCKER_GID:-$(grep '^docker:' /etc/group | cut -f3 -d:)}"
    
    TIMEZONE=$(readlink "$readlink_flags" /etc/localtime | sed -e 's/^.*zoneinfo\///')
    
    TARGET_OUT="${TARGET_OUT:-$(pwd)/out/${TARGET_OS}_${TARGET_ARCH}}"
    TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-$(pwd)/out/linux_${TARGET_ARCH}}"
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.Enumeration;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Properties;
    import java.util.TimeZone;
    
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.fess.crawler.Constants;
    import org.codelibs.fess.crawler.entity.ExtractData;
    import org.codelibs.fess.crawler.exception.ExtractException;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy

    import static java.util.concurrent.TimeUnit.DAYS
    
    class UpdateReleasedVersionsTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "final release is added to list"() {
            def snapshot = snapshot('4.3')
            def rc = releasedVersion('4.3-rc-1')
            def versions = releasedVersions(snapshot, rc, [])
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.4K bytes
    - Viewed (0)
Back to top