DateTimeCellValue.fromDateTime constructor

DateTimeCellValue.fromDateTime(
  1. DateTime date
)

Creates a DateTimeCellValue from a DateTime.

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;