       :lt
 
   """
-  @spec compare(Calendar.naive_datetime, Calendar.naive_datetime) :: :lt | :eq | :gt
+  @spec compare(Calendar.naive_date_time, Calendar.naive_date_time) :: :lt | :eq | :gt
   def compare(naive_datetime1, naive_datetime2) do
     case {to_tuple(naive_datetime1), to_tuple(naive_datetime2)} do
       {first, second} when first > second -> :gt


  """
  @spec to_string(Calendar.time) :: String.t
  def to_string(%{hour: hour, minute: minute, second: second, microsecond: microsecond}) do
    Calendar.ISO.time_to_string(hour, minute, second, microsecond)
  end


  """
  @spec to_erl(Calendar.time) :: :calendar.time
  def to_erl(time)

  def to_erl(%{hour: hour, minute: minute, second: second}) do
    {hour, minute, second}
  end
