DateTimeCellValue.fromDateTime constructor

DateTimeCellValue.fromDateTime(
  1. DateTime date
)

Implementation

DateTimeCellValue.fromDateTime(DateTime date)
    : year = date.year,
      month = date.month,
      day = date.day,
      hour = date.hour,
      minute = date.minute,
      second = date.second,
      millisecond = date.millisecond,
      microsecond = date.microsecond;