예제 #1
0
 public static string GetLegislatorTermEndDate(Legislator legislator, string termEndDateText)
 {
     return(legislator.TermEndDate.Equals(DateTime.MinValue)
         ? $"{termEndDateText}: {AndroidHelper.GetString(Resource.String.unknown)}"
         : $"{termEndDateText}: {legislator.TermEndDate.ToShortDateString()}");
 }