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