setEndTime

fun setEndTime(endTime: Instant, zoneOffset: ZoneOffset? = null): HealthDataPoint.Builder

Sets the end time of the data.

The end time is exclusive and represented in milliseconds.

Return

This builder

Since

1.0.0

Parameters

endTime

The end time of the data as an Instant.

zoneOffset

The zone offset applied to the end time.

Preferences Submitted

You have successfully updated your cookie preferences.