Package liqp.filters.date
Class Parser
java.lang.Object
liqp.filters.date.BasicDateParser
liqp.filters.date.Parser
-
Field Summary
FieldsModifier and TypeFieldDescriptionIn case if anyone interesting about full set of supported by ruby date patterns: there no such set as the parsing there happening based on heuristic algorithms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class liqp.filters.date.BasicDateParser
getZonedDateTimeFromTemporalAccessor, parseUsingCachedPatterns, parseUsingPattern, storePattern
-
Field Details
-
datePatterns
In case if anyone interesting about full set of supported by ruby date patterns: there no such set as the parsing there happening based on heuristic algorithms. This is how it looks like(~3K lines just for date parse): https://github.com/ruby/ruby/blob/ee102de6d7ec2454dc5da223483737478eb7bcc7/ext/date/date_parse.c And here's python. Just an example how it is violating standard in details regarding timezone representation: https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior
-
-
Constructor Details
-
Parser
public Parser()
-
-
Method Details
-
parse
- Specified by:
parsein classBasicDateParser
-