Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for timezone (0.23 sec)

  1. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

    import static org.junit.Assert.assertThat;
    
    import java.sql.Timestamp;
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.TimeZone;
    
    import org.codelibs.core.misc.LocaleUtil;
    import org.junit.After;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author higa
     */
    public class TimestampConversionUtilTest {
    
        @Before
    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)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

                return writer.writeUtf8(string)
              }
            },
        )
    
      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)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  3. 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
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  4. 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>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 11 14:06:34 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    @JvmField
    internal val EMPTY_RESPONSE: ResponseBody = commonEmptyResponse
    
    /** GMT and UTC are equivalent for our purposes. */
    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    internal fun threadFactory(
      name: String,
      daemon: Boolean,
    ): ThreadFactory =
      ThreadFactory { runnable ->
        Thread(runnable, name).apply {
          isDaemon = daemon
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    type ExtractFunc struct {
    	Timeword string       `parser:" \"EXTRACT\" \"(\" @( \"YEAR\":Timeword | \"MONTH\":Timeword | \"DAY\":Timeword | \"HOUR\":Timeword | \"MINUTE\":Timeword | \"SECOND\":Timeword | \"TIMEZONE_HOUR\":Timeword | \"TIMEZONE_MINUTE\":Timeword ) "`
    	From     *PrimaryTerm `parser:" \"FROM\" @@ \")\" "`
    }
    
    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/Constants.java

        public static final Integer DEFAULT_DAY_FOR_CLEANUP = 3;
    
        public static final String FESS_CONF_PATH = "fess.conf.path";
    
        public static final TimeZone TIMEZONE_UTC = TimeZone.getTimeZone("UTC");
    
        public static final String LDAP_BASE_DN = "ldap.base.dn";
    
        public static final String LDAP_SECURITY_PRINCIPAL = "ldap.security.principal";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          .writeByte(this[size - 1].toInt() xor 1)
          .readByteString()
      }
    
      private fun date(s: String): Date {
        return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run {
          timeZone = TimeZone.getTimeZone("GMT")
          parse(s)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  9. src/archive/zip/writer.go

    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    import java.util.TimeZone;
    
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.ConditionQuery;
    import org.dbflute.cbean.ckey.ConditionKey;
    import org.dbflute.cbean.coption.ConditionOption;
    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)
Back to top