backpack v0.2.0 Backpack.Moment

Link to this section Summary

Functions

Link to this section Functions

Link to this function ago(value, seconds_or_unit \\ :nanoseconds)

See Backpack.Moment.Calculator.ago/2.

Link to this function day(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.days/2.

Link to this function days(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.days/2.

Link to this function from_now(value, seconds_or_unit \\ :nanoseconds)

See Backpack.Moment.Calculator.from_now/2.

Link to this function from_unix(timestamp, unit \\ :nanoseconds)

See DateTime.from_unix/2.

Link to this function from_unix!(timestamp, unit \\ :nanoseconds)

See DateTime.from_unix!/2.

Link to this function hour(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.hours/2.

Link to this function hours(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.hours/2.

Link to this function minute(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.minutes/2.

Link to this function minutes(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.minutes/2.

Link to this function month(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.months/2.

Link to this function months(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.months/2.

Link to this function second(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.seconds/2.

Link to this function seconds(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.seconds/2.

Link to this function strftime(value, format, lang \\ :en)

See Calendar.Strftime.strftime/3.

Link to this function strftime!(value, format, lang \\ :en)

See Calendar.Strftime.strftime!/3.

Link to this function week(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.weeks/2.

Link to this function weeks(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.weeks/2.

Link to this function year(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.years/2.

Link to this function years(num, unit \\ :nanoseconds)

See Backpack.Moment.Numeric.years/2.