Beispiel #1
0
        public void LaterThanOrEqualOperator_MimicSystem(
            long ticks1, System.DateTimeKind kind1,
            long ticks2, System.DateTimeKind kind2,
            string because)
        {
            var a        = new Abstractions.DateTime(ticks1, kind1);
            var b        = new Abstractions.DateTime(ticks2, kind2);
            var expected = new System.DateTime(ticks1, kind1) >= new System.DateTime(ticks2, kind2);

            //  #   Act.
            var res = a >= b;

            //  Assert.
            res.Should().Be(expected, because);
        }
Beispiel #2
0
 protected internal System.DateTimeKind AnyKindExcept(System.DateTimeKind exceptKind)
 {
     return(_pr.EnumExcept(exceptKind));
 }
 public static System.DateTime GetMinValue(System.DateTimeKind kind)
 {
     return(new System.DateTime(System.DateTime.MinValue.Ticks, kind));
 }
Beispiel #4
0
 public abstract unsafe void Method(int[] array, object classType, System.DateTimeKind enumeration,
                                    System.IDisposable iface, int *pointer, ref int reference, bool structure);