XPlat.ApplicationModel
XPlat.Core
XPlat.Device.Display
XPlat.Device.Geolocation
XPlat.Device.Launcher
XPlat.Device.Power
XPlat.Device.Profile
XPlat.Foundation
XPlat.Media.Capture
XPlat.Storage
XPlat.Storage.Pickers
XPlat.UI.Core

NSDateExtensions

Namespace: XPlat.Extensions

Defines a collection of extensions for NSDate objects.

public static class NSDateExtensions

Supported platforms

Platform

Version

Xamarin.iOS

1.0

Static Methods

ToDateTimeOffset(this NSDate)

Converts an NSDate object to a DateTimeOffset object.

public static DateTimeOffset ToDateTimeOffset(this NSDate date)

Parameters

date (NSDate)

The date to convert to a DateTimeOffset.

Returns

Returns the converted DateTimeOffset value.