DateTime.toInstant

Instant toInstant(const this, UtcOffset offset)

Converts this date and time to an instant using a fixed UTC offset.

Remarks

Returns Instant.INVALID when the input or conversion result is invalid.

Parameters

const
this
UtcOffset
offset

Fixed UTC offset used to interpret this value.

Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.