Style center content for forms

This commit is contained in:
2012-12-28 15:45:23 -05:00
parent 7eff2f343a
commit ce6fd9c215
23 changed files with 197 additions and 137 deletions
+6
View File
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.SqlTypes;
using System.Linq;
using System.Reflection;
using System.Text;
@@ -99,6 +100,11 @@ namespace MileageTraker.Web.Utility
return value;
}
public static bool IsSqlMinValue(this DateTime dt)
{
return dt == SqlDateTime.MinValue.Value;
}
public static string ToVerboseStringHistoric(this TimeSpan ts)
{
if (ts.TotalDays == 0)