using System; using System.Globalization; namespace Bit.App.Abstractions { public interface ILocalizeService { CultureInfo GetCurrentCultureInfo(); /// /// Format date using device locale. /// Needed for iOS as it provides locales unsupported in .Net /// string GetLocaleShortDate(DateTime? date); /// /// Format time using device locale. /// Needed for iOS as it provides locales unsupported in .Net /// string GetLocaleShortTime(DateTime? time); } }