Skip to main content
Version: 2.14.1

Humanizer.Localisation.TimeToClockNotation.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