$new static method
Implementation
static $DateTime $new(Runtime runtime, $Value? target, List<$Value?> args) {
final year = args[0]!.$value as int;
final month = args[1]?.$value as int?;
final day = args[2]?.$value as int?;
final hour = args[3]?.$value as int?;
final minute = args[4]?.$value as int?;
final second = args[5]?.$value as int?;
final millisecond = args[6]?.$value as int?;
final microsecond = args[7]?.$value as int?;
return $DateTime.wrap(DateTime(year, month ?? 1, day ?? 1, hour ?? 0,
minute ?? 0, second ?? 0, millisecond ?? 0, microsecond ?? 0));
}