Bolt.Sips v1.2.1-rc2 Bolt.Sips.TypesHelper View Source
Link to this section Summary
Functions
Convert NaiveDateTime and timezone into a Calendar.DateTime Without losing micorsecond data!
Decompose an amount seconds into the tuple {hours, minutes, seconds}
Convert an amount of seconds in a +hours:minutes offset
Link to this section Functions
Link to this function
datetime_with_micro(naive_dt, timezone)
View Source
datetime_with_micro(naive_dt, timezone)
View Source
datetime_with_micro(Calendar.naive_datetime(), String.t()) ::
Calendar.datetime()
datetime_with_micro(Calendar.naive_datetime(), String.t()) :: Calendar.datetime()
Convert NaiveDateTime and timezone into a Calendar.DateTime Without losing micorsecond data!
Link to this function
decompose_in_hms(seconds) View Source
Decompose an amount seconds into the tuple {hours, minutes, seconds}
Link to this function
formated_time_offset(offset_seconds) View Source
Convert an amount of seconds in a +hours:minutes offset