kcopy method
复制日期 可以指定修改某个时间
Implementation
DateTime kcopy(
{int? year,
int? month,
int? day,
int? hour,
int? minute,
int? second,
int? millisecond,
int? microsecond}) {
return KDateUtils.create(
isUtc,
year ?? this.year,
month ?? this.month,
day ?? this.day,
hour ?? this.hour,
minute ?? this.minute,
second ?? this.second,
millisecond ?? this.millisecond,
microsecond ?? this.microsecond);
}