Share via


DateTimeOffsetConverter Class

Definition

Converts System.DateTimeOffset to System.DateTime and back.

public class DateTimeOffsetConverter : Xamarin.CommunityToolkit.Extensions.Internals.ValueConverterExtension, Xamarin.Forms.IValueConverter
Inheritance
System.Object
DateTimeOffsetConverter
Implements

Constructors

DateTimeOffsetConverter()

Methods

Convert(Object, Type, Object, CultureInfo)

Converts System.DateTimeOffset to System.DateTime

ConvertBack(Object, Type, Object, CultureInfo)

Converts System.DateTime back to System.DateTimeOffset.

ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Explicit Interface Implementations

IMarkupExtension.ProvideValue(IServiceProvider) (Inherited from ValueConverterExtension)

Applies to