Table of Contents

Method GetFormatInfo

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetFormatInfo(IFormatProvider?)

Gets the DateTimeFormatInfo from the specified format provider, or uses the current culture if the provider is null.

public static DateTimeFormatInfo GetFormatInfo(IFormatProvider? formatProvider)

Parameters

formatProvider IFormatProvider

The format provider to retrieve the culture-specific information from. If null, the current culture will be used.

Returns

DateTimeFormatInfo

The DateTimeFormatInfo associated with the specified format provider.