using System; using System.Globalization; using System.Security; using InABox.Core; using Xamarin.Forms; namespace InABox.Mobile { public class DateTimeToBooleanConverter : AbstractConverter { public bool EmptyResult { get; set; } protected override bool Convert(DateTime value, object? parameter = null) { return value.IsEmpty() == EmptyResult; } } }