CSharp examples for System:DateTime
Is Date Time Offset
using System.Reflection; using System.Linq; using System.Collections.Generic; using System;/* w ww .ja v a 2 s .c om*/ public class Main{ public static bool IsDateTimeOffset(this Type type) { return type == typeof(DateTimeOffset) || type == typeof(DateTimeOffset?); } }