kgetEndDate method

DateTime kgetEndDate({
  1. int offset = 0,
})

获取某一天的结束时间

Implementation

DateTime kgetEndDate({int offset = 0}) {
  var day = kgetDateByDayOffset(offset: offset);
  return KDateUtils.create(
      false, day.year, day.month, day.day, 23, 59, 59, 999, 999);
}