2021-11-22 11:30:08 +05:00
|
|
|
|
using System;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudApp.Services
|
|
|
|
|
{
|
|
|
|
|
public interface ITimeZoneService
|
|
|
|
|
{
|
2021-12-07 18:27:52 +05:00
|
|
|
|
DateTime DateToUtc(DateTime date, double remoteTimezoneOffsetHours);
|
|
|
|
|
DateTime DateToTimeZone(DateTime date, double remoteTimezoneOffsetHours);
|
2021-11-22 11:30:08 +05:00
|
|
|
|
Task<Data.TelemetryTimeZoneDto> GetByCoordinatesAsync(double latitude, double longitude, CancellationToken token);
|
|
|
|
|
}
|
|
|
|
|
}
|