java.lang.Object
dev.metaschema.core.metapath.function.library.FnFormatDate
Implements the XPath 3.1 fn:format-date
functions.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringFormat a date value using a picture string per the XPath 3.1 fn:format-date specification.
-
Method Details
-
formatDate
@NonNull public static String formatDate(@NonNull IDateItem value, @NonNull String picture, @Nullable String language, @Nullable String calendar, @Nullable String place) Format a date value using a picture string per the XPath 3.1 fn:format-date specification.- Parameters:
value- the date value to formatpicture- the picture stringlanguage- the language, ornullcalendar- the calendar, ornullplace- the place, ornull- Returns:
- the formatted string
-