Class FnHoursFromDateTime

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

public final class FnHoursFromDateTime extends Object
Implements the XPath 3.1 fn:hours-from-dateTime. function.
  • Method Details

    • fnHoursFromDateTime

      @NonNull public static IIntegerItem fnHoursFromDateTime(@NonNull IDateTimeItem arg)
      Parameters:
      arg - the meta:date-time item from which to extract the hour component
      Returns:
      the hour component from the date-time as an integer item