/// <summary> /// Creates an instance of the type associated with theses methods from the arguments supplied. Repesents a constructor call /// </summary> /// <param name="args">The arguments used to construct the instance of this type</param> /// <returns></returns> public override LObject CreateFromArgs(object[] args) { var parameters = new List <object>(); if (args != null && args.Length > 0) { foreach (var arg in args) { if (arg is LObject) { parameters.Add(((LObject)arg).GetValue()); } } } args = parameters.ToArray(); var time = DateTimeTypeHelper.CreateTimeFrom(args); return(new LTime(time)); }