DigitalClockDisplay.DrawHour C# (CSharp) Method

DrawHour() private method

private DrawHour ( IGraphPort graphPort ) : void
graphPort IGraphPort
return void
    void DrawHour(IGraphPort graphPort)
    {
        if (f24Hour)
            DisplayTwoDigits(graphPort, fThisTime.Hour, fSuppress);
        else
            DisplayTwoDigits(graphPort, ((fThisTime.Hour %= 12) > 0) ? (int)fThisTime.Hour : 12, fSuppress);

        DisplayColon(graphPort);
    }