Revision 57655
Added by Michele De Bonis over 4 years ago
DumpToActionsUtility.java | ||
---|---|---|
47 | 47 |
} |
48 | 48 |
|
49 | 49 |
public static boolean isValidDate(final String date) { |
50 |
return date.matches("\\d{4}-\\d{2}-\\d{2}");
|
|
50 |
return date.matches("\\d{4}-\\d{1,2}-\\d{1,2}");
|
|
51 | 51 |
} |
52 | 52 |
|
53 | 53 |
public static FieldTypeProtos.StructuredProperty getPid(final JsonObject localIdentifier, final Map<String, ScholExplorerConfiguration> conf) { |
Also available in: Unified diff
modification to fit with the tree-dedup