kgetStartDate method

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

获取某一天的开始时间

Implementation

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