Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,431 for date (0.02 sec)

  1. src/main/webapp/js/admin/plugins/form-validator/date.js

    a.jQuery)}(this,function(a){!function(a){function b(a,b,d){var e=new Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMonth()}a.formUtils...
    Registered: 2024-10-31 13:40
    - Last Modified: 2018-01-01 05:12
    - 1.6K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/expiration.go

    		return errLifecycleDateNotMidnight
    	}
    
    	*eDate = ExpirationDate{expDate}
    	return nil
    }
    
    // MarshalXML encodes expiration date if it is non-zero and encodes
    // empty string otherwise
    func (eDate ExpirationDate) MarshalXML(e *xml.Encoder, startElement xml.StartElement) error {
    	if eDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(eDate.Format(time.RFC3339), startElement)
    }
    
    Registered: 2024-11-03 19:28
    - Last Modified: 2024-02-21 20:28
    - 6.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
    Registered: 2024-11-01 20:58
    - Last Modified: 2024-03-07 01:59
    - 9.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return date;
            }
            final java.sql.Date sqlDate = toSqlDateJdbcEscape(str);
            if (sqlDate != null) {
    Registered: 2024-11-01 20:58
    - Last Modified: 2024-03-07 01:59
    - 21.5K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/extra-data-types.md

    # Extra Data Types
    
    Up to now, you have been using common data types, like:
    
    * `int`
    * `float`
    * `str`
    * `bool`
    
    But you can also use more complex data types.
    
    And you will still have the same features as seen up to now:
    
    * Great editor support.
    * Data conversion from incoming requests.
    * Data conversion for response data.
    * Data validation.
    * Automatic annotation and documentation.
    
    ## Other data types
    
    Registered: 2024-11-03 07:19
    - Last Modified: 2024-10-06 20:36
    - 4K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js

                        date = date.clone().hour(hour).minute(minute).second(second);
                    }
                    this.endDate = null;
                    this.setStartDate(date.clone());
                } else if (!this.endDate && date.isBefore(this.startDate)) {
                    //special case: clicking the same date for start/end,
                    //but the time of the end date is before the start date
    Registered: 2024-10-31 13:40
    - Last Modified: 2024-10-26 01:49
    - 64.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacLogonInfo.java

    import java.io.DataInputStream;
    import java.io.IOException;
    import java.util.Date;
    
    import jcifs.smb.SID;
    
    
    @SuppressWarnings ( "javadoc" )
    public class PacLogonInfo {
    
        private Date logonTime;
        private Date logoffTime;
        private Date kickOffTime;
        private Date pwdLastChangeTime;
        private Date pwdCanChangeTime;
        private Date pwdMustChangeTime;
        private short logonCount;
    Registered: 2024-11-03 00:10
    - Last Modified: 2018-07-01 13:12
    - 11.4K bytes
    - Viewed (0)
  8. tests/test_serialize_response_dataclass.py

    def get_coerce():
        return {"name": "coerce", "date": datetime(2021, 7, 26).isoformat(), "price": "1.0"}
    
    
    @app.get("/items/validlist", response_model=List[Item])
    def get_validlist():
        return [
            {"name": "foo", "date": datetime(2021, 7, 26)},
            {"name": "bar", "date": datetime(2021, 7, 26), "price": 1.0},
            {
                "name": "baz",
                "date": datetime(2021, 7, 26),
                "price": 2.0,
    Registered: 2024-11-03 07:19
    - Last Modified: 2022-08-26 13:56
    - 4.9K bytes
    - Viewed (0)
  9. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            Metadata source = createMetadataFromArtifact(artifact);
            Date date = new Date();
            addSnapshotVersion(target.getVersioning(), date, artifact);
            SnapshotVersion sv1 = addSnapshotVersion(source.getVersioning(), date, artifact);
            // although nothing has changed merge returns true, as the last modified date is equal
            // TODO: improve merge here?
            assertTrue(target.merge(source));
    Registered: 2024-11-03 03:35
    - Last Modified: 2024-10-25 12:31
    - 13.7K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/transition.go

    // UnmarshalXML parses date from Transition and validates date format
    func (tDate *TransitionDate) UnmarshalXML(d *xml.Decoder, startElement xml.StartElement) error {
    	var dateStr string
    	err := d.DecodeElement(&dateStr, &startElement)
    	if err != nil {
    		return err
    	}
    	// While AWS documentation mentions that the date specified
    	// must be present in ISO 8601 format, in reality they allow
    	// users to provide RFC 3339 compliant dates.
    Registered: 2024-11-03 19:28
    - Last Modified: 2022-01-10 17:07
    - 5.1K bytes
    - Viewed (0)
Back to top