java.lang.Object
dev.metaschema.core.metapath.function.library.FnFormatTime

public final class FnFormatTime extends Object
Implements the XPath 3.1 fn:format-time functions.
See Also:
  • 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 format
      picture - the picture string
      language - the language, or null
      calendar - the calendar, or null
      place - the place, or null
      Returns:
      the formatted string