Example #1
0
        public virtual IList <DateTime> dates()
        {
            IList <DateTime> result = new List <DateTime>();

            result.Add(SwiftFormatUtils.getDate4(getComponent(1)));
            result.Add(SwiftFormatUtils.getTime2(getComponent(2)));
            return(result);
        }
Example #2
0
 /// <summary>
 /// Set the component1 from a Calendar object. </summary>
 /// <param name="component1"> the Calendar with the component1 content to set </param>
 public virtual Field179 setComponent1(DateTime component1)
 {
     setComponent(1, SwiftFormatUtils.getTime2(component1));
     return(this);
 }
Example #3
0
 /// <summary>
 /// Set the component2 from a Calendar object. </summary>
 /// <param name="component2"> the Calendar with the component2 content to set </param>
 public virtual Field109 setComponent2(DateTime component2)
 {
     setComponent(2, SwiftFormatUtils.getTime2(component2));
     return(this);
 }