Formats a time of day for display.
Namespace:
Mindscape.WpfElementsAssembly: Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)
Syntax
C# |
---|
protected static string FormatTimeOfDay( DateTime timeToConvert, CultureInfo culture, TimeDisplayMode timeMode ) |
Visual Basic (Declaration) |
---|
Protected Shared Function FormatTimeOfDay ( _ timeToConvert As DateTime, _ culture As CultureInfo, _ timeMode As TimeDisplayMode _ ) As String |
Parameters
- timeToConvert
- Type: System..::.DateTime
The time to be displayed.
- culture
- Type: System.Globalization..::.CultureInfo
The culture to use in formatting.
- timeMode
- Type: Mindscape.WpfElements..::.TimeDisplayMode
The time display mode.