Skip to main content
Version: 3.0.1

Humanizer.ITimeOnlyToClockNotationConverter

ITimeOnlyToClockNotationConverter Interface​

The interface used to localise the ToClockNotation method.

public interface ITimeOnlyToClockNotationConverter

Methods​

ITimeOnlyToClockNotationConverter.Convert(TimeOnly, ClockNotationRounding) Method​

Converts the time to Clock Notation

string Convert(System.TimeOnly time, Humanizer.ClockNotationRounding roundToNearestFive);

Parameters​

time System.TimeOnly

roundToNearestFive ClockNotationRounding

Returns​

System.String