public virtual void TestNullParameters() { IntervalFactory.CreateCentre((PlatformDate)null); IntervalFactory.CreateCentre((PlatformDate)null, (NullFlavor)null); IntervalFactory.CreateCentreHigh((PlatformDate)null, (PlatformDate)null); IntervalFactory.CreateCentreHigh((PlatformDate)null, (PlatformDate)null, (NullFlavor)null, (NullFlavor)null); IntervalFactory.CreateCentreWidth((PlatformDate)null, (Diff <PlatformDate>)null); IntervalFactory.CreateCentreWidth((PlatformDate)null, (Diff <PlatformDate>)null, (NullFlavor)null); IntervalFactory.CreateHigh((PlatformDate)null); IntervalFactory.CreateHigh((PlatformDate)null, (NullFlavor)null); IntervalFactory.CreateLow((PlatformDate)null); IntervalFactory.CreateLow((PlatformDate)null, (NullFlavor)null); IntervalFactory.CreateLowCentre((PlatformDate)null, (PlatformDate)null); IntervalFactory.CreateLowCentre((PlatformDate)null, (PlatformDate)null, (NullFlavor)null, (NullFlavor)null); IntervalFactory.CreateLowHigh((PlatformDate)null, (PlatformDate)null); IntervalFactory.CreateLowHigh((PlatformDate)null, (PlatformDate)null, (NullFlavor)null, (NullFlavor)null); IntervalFactory.CreateLowWidth((PlatformDate)null, (Diff <PlatformDate>)null); IntervalFactory.CreateLowWidth((PlatformDate)null, (Diff <PlatformDate>)null, (NullFlavor)null); IntervalFactory.CreateSimple((PlatformDate)null); IntervalFactory.CreateWidth((Diff <PlatformDate>)null); IntervalFactory.CreateWidthHigh((Diff <PlatformDate>)null, (PlatformDate)null); IntervalFactory.CreateWidthHigh((Diff <PlatformDate>)null, (PlatformDate)null, (NullFlavor)null); }
/// <summary>Constructs an Interval using the supplied parameters.</summary> /// <remarks>Constructs an Interval using the supplied parameters.</remarks> /// <TBD></TBD> /// <param name="high">the high bound</param> /// <returns>the constructed interval</returns> public static Interval <T> CreateHigh <T>(T high) { return(IntervalFactory.CreateHigh(high, null)); }