Пример #1
0
        public void SegmentTime_SetSpan_EndMoreMax()
        {
            SegmentTime segmentTime = new SegmentTime();

            segmentTime.SetSegment(DateTime.MaxValue, DateTime.MaxValue);
            Panel_InterfaceSegment <DateTime, TimeSpan> .SetSpan(segmentTime, TimeSpan.MaxValue, DateTime.MaxValue);
        }
Пример #2
0
        public void SegmentTime_SetSpan_Negate()
        {
            SegmentTime segmentTime = new SegmentTime();

            segmentTime.SetSegment(_label_1, _label_2);
            Panel_InterfaceSegment <DateTime, TimeSpan> .SetSpan(segmentTime, _spanTickNegate, _label_2);
        }
Пример #3
0
        public void SegmentTime_SetSpan_Max()
        {
            _label_1 = DateTime.MaxValue - _spanTick;
            SegmentTime segmentTime = new  SegmentTime();

            segmentTime.SetSegment(_label_1, _label_1);
            Panel_InterfaceSegment <DateTime, TimeSpan> .SetSpan(segmentTime, _spanTick, DateTime.MaxValue);
        }
Пример #4
0
        public void SegmentInt_SetSpan_Max()
        {
            SegmentInt segmentInt = new SegmentInt(_label_1, _label_1);

            Panel_InterfaceSegment <Int32, Int32> .SetSpan(segmentInt, Int32.MaxValue, Int32.MaxValue);
        }
Пример #5
0
        public void SegmentInt_SetSpan_One()
        {
            SegmentInt segmentInt = new SegmentInt(_label_1, _label_2);

            Panel_InterfaceSegment <Int32, Int32> .SetSpan(segmentInt, _label_1, _label_1);
        }
Пример #6
0
        public void SegmentInt_SetSpan_EndMoreMax()
        {
            SegmentInt segmentInt = new SegmentInt(Int32.MaxValue, Int32.MaxValue);

            Panel_InterfaceSegment <Int32, Int32> .SetSpan(segmentInt, _label_2, Int32.MaxValue);
        }
Пример #7
0
 public static void SetSpan_EndMoreMax(ISegment <Double, Double> segmentDouble)
 {
     segmentDouble.SetSegment(Double.MaxValue, Double.MaxValue);
     Panel_InterfaceSegment <Double, Double> .SetSpan(segmentDouble, _label_1, Double.MaxValue);
 }
Пример #8
0
 public static void SetSpan(ISegment <Double, Double> segmentDouble)
 {
     Panel_InterfaceSegment <Double, Double> .SetSpan(segmentDouble, _label_1, _label_1);
 }