Skip to main content

DateTimeConverter.TimeSpanFromTime(Nullable<DateTime>, TimeSpan) Method

Namespace: DevExpress.XamarinForms.Editors

Assembly: DevExpress.XamarinForms.Editors.dll

NuGet Package: DevExpress.XamarinForms.Editors

#Declaration

C#
public static TimeSpan? TimeSpanFromTime(
    DateTime? time,
    TimeSpan referencedTimeSpan
)

#Parameters

Name Type
time Nullable<DateTime>
referencedTimeSpan TimeSpan

#Returns

Type
Nullable<TimeSpan>
See Also