- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for parseDate (0.19 sec)
-
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Dec 23 06:18:48 UTC 2023 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 16.9K bytes - Viewed (0) -
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
} if (clazz.isAssignableFrom(Date.class)) { if (value instanceof Date) { return (T) value; } return (T) FessFunctions.parseDate(value.toString()); } if (clazz.isAssignableFrom(Long.class)) { if (value instanceof Long) { return (T) value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
return !validateDateTimeString(source.get(s)); }).collect(Collectors.toList())); } default boolean validateDateTimeString(final Object obj) { if (FessFunctions.parseDate(obj.toString()) != null) { return true; } return false; } String getIndexAdminIntegerFields(); default Set<String> getIndexAdminIntegerFieldSet() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0) -
internal/event/name.go
var s string if err := json.Unmarshal(data, &s); err != nil { return err } eventName, err := ParseName(s) if err != nil { return err } *name = eventName return nil } // ParseName - parses string to Name. func ParseName(s string) (Name, error) { switch s { case "s3:BucketCreated:*": return BucketCreated, nil case "s3:BucketRemoved:*":
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 10.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
String[] values; values = storageClient.parsePath("bucket/path"); assertEquals("bucket", values[0]); assertEquals("path", values[1]); values = storageClient.parsePath("bucket/path1/path2"); assertEquals("bucket", values[0]); assertEquals("path1/path2", values[1]); values = storageClient.parsePath("bucket/"); assertEquals("bucket", values[0]);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 13.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java
if (!accessTimeoutTask.isCanceled()) { accessTimeoutTask.cancel(); } } } } protected String[] parsePath(final String path) { if (StringUtil.isNotEmpty(path)) { final String[] values = path.split("/", 2); if (values.length == 2) { return values; }
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:47:32 UTC 2024 - 13.9K bytes - Viewed (0) -
internal/event/name_test.go
{"s3:LifecycleDelMarkerExpiration:Delete", ILMDelMarkerExpirationDelete, false}, {"", blankName, true}, } for i, testCase := range testCases { name, err := ParseName(testCase.s) expectErr := (err != nil) if expectErr != testCase.expectErr { t.Fatalf("test %v: error: expected: %v, got: %v", i+1, testCase.expectErr, expectErr) } if !testCase.expectErr {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 7.4K bytes - Viewed (0)