code: private DateTime resolveDateTime(FunctionRef fun) {
          final DateTime dt = of.createDateTime();
          DateTimeInvocation.setDateTimeFieldsFromOperands(dt, fun.getOperand());
          builder.resolveCall("System", "DateTime", new DateTimeInvocation(dt));
          return dt;
      }
docs: DateTime Function Support