TemporalZ

valueOf

Throws an error; valueOf() is not supported for PlainTime.

See: Temporal.PlainTime.valueOf

Parameters

#
self:PlainTime
PlainTime

Source

Implementation

#
pub fn valueOf(self: PlainTime) !void {
    _ = self;
    // PlainTime should not be used in arithmetic/comparison operations implicitly
    return error.ValueError;
}