function h = hour(t)
%HOUR Hour numbers of datetimes.
%   
%   H = HOUR(T)
%   
%   See also HOUR.
%   


%   Copyright 2016-2022 The MathWorks, Inc.

if isstring(t) || ischar(t)
    error(message("parallel:distributed:DatetimefunInvalidArgumentType"));
else
    h = codistributed.pElementwiseOp(@hour, t);
end
end
