DateTimeConverter.TimeSpanFromTime(Nullable<DateTime>, TimeSpan) Method
Namespace: DevExpress.Maui.Editors
Assembly: DevExpress.Maui.Editors.dll
NuGet Package: DevExpress.Maui.Editors
Declaration
public static TimeSpan? TimeSpanFromTime(
DateTime? time,
TimeSpan referencedTimeSpan
)
Parameters
Name | Type | Description |
---|---|---|
time | Nullable<DateTime> | The DateTime value to convert. |
referencedTimeSpan | TimeSpan | The reference TimeSpan value. |
Returns
Type | Description |
---|---|
Nullable<TimeSpan> | The conversion result. |
See Also