HDate.fromDateTime constructor

HDate.fromDateTime(
  1. DateTime dt
)

Construct from Dart DateTime instance

Implementation

factory HDate.fromDateTime(DateTime dt) =>
    HDate(dt.year, dt.month, dt.day);