Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for parseByte (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            if (s != null) {
                batchLimits[0] = Byte.parseByte(s);
            }
            if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.CreateDirectory")) != null) {
                batchLimits[2] = Byte.parseByte(s);
            }
            if ((s = Config.getProperty("jcifs.smb1.smb.client.TreeConnectAndX.Delete")) != null) {
                batchLimits[3] = Byte.parseByte(s);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            } else if (o instanceof String) {
                return toPrimitiveByte((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Byte.parseByte(new SimpleDateFormat(pattern).format(o));
                }
                return (byte) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (byte) 1 : (byte) 0;
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
            this.revision = Byte.parseByte(st.nextToken());
            final String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x")) {
                id = Long.parseLong(tmp.substring(2), 16);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

            if (st.countTokens() < 3 || !st.nextToken().equals("S")) {
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
            }
    
            this.revision = Byte.parseByte(st.nextToken());
            final String tmp = st.nextToken();
            long id = 0;
            if (tmp.startsWith("0x")) {
                id = Long.parseLong(tmp.substring(2), 16);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java

        }
    
        public void test_parseDate() {
            Date date;
    
            date = FessFunctions.parseDate("");
            assertNull(date);
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56.123Z");
            assertEquals("2004-04-01T12:34:56.123Z", FessFunctions.formatDate(date));
    
            date = FessFunctions.parseDate("2004-04-01T12:34:56Z");
            assertEquals("2004-04-01T12:34:56.000Z", FessFunctions.formatDate(date));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  6. src/main/webapp/WEB-INF/fe.tld

        </example>
      </function>
    
      <function>
        <description>
          Returns Date from a given value.
        </description>
        <name>parseDate</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.util.Date parseDate(java.lang.String)</function-signature>
        <example>
          ${fe:parseDate(doc.tstamp)}
        </example>
      </function>
    
      <function>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                final Date lastModified = FessFunctions.parseDate(lastModifiedObj.toString());
                if (lastModified != null) {
                    return lastModified;
                }
            } else if (lastModifiedObj instanceof final String[] lastModifieds && lastModifieds.length > 0) {
                final Date lastModified = FessFunctions.parseDate(lastModifieds[0]);
                if (lastModified != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types.go

    func (b BatchJobSnowball) Validate() error {
    	if *b.Batch <= 0 {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  "batch number should be non positive zero",
    		}
    	}
    	_, err := humanize.ParseBytes(*b.SmallerThan)
    	if err != nil {
    		return BatchJobYamlErr{
    			line: b.line,
    			col:  b.col,
    			msg:  err.Error(),
    		}
    	}
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/webapp/js/admin/plugins/form-validator/date.js

    essage:"",errorMessageKey:"badTime"}),a.formUtils.addValidator({name:"birthdate",validatorFunction:function(c,d,e){var f="yyyy-mm-dd";d.valAttr("format")?f=d.valAttr("format"):"undefined"!=typeof e.dateFormat&&(f=e.dateFormat);var g=a.formUtils.parseDate(c,f);if(!g)return!1;var h=g[0],i=g[1],j=g[2],k=b(h,i,j),l=(d.valAttr("age-range")||"0-124").split("-");if(d.trigger("ageCalculated",[k]),2!==l.length||!a.isNumeric(l[0])||!a.isNumeric(l[1]))throw new Error("Date range format invalid");return k>=...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         *
         * @param value the date string to parse
         * @return parsed Date object, or null if parsing fails
         */
        public static Date parseDate(final String value) {
            return parseDate(value, Constants.DATE_OPTIONAL_TIME);
        }
    
        /**
         * Parses a date string using the specified format.
         *
         * @param value the date string to parse
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
Back to top