src/main/java/de/dennisguse/opentracks/util/StringUtils.java
public static String formatDateTimeIso8601(@NonNull Instant time, ZoneOffset zoneOffset) {
        return time
                .atOffset(zoneOffset)
                .format(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
    }
/**
     * Formats the time using the ISO 8601 date time format with fractional seconds.
     */
Formats the time using the ISO 8601 date time format with fractional seconds.
Formats the time using the ISO 8601 date time format with fractional seconds .
public static String formatDateTimeIso8601(@NonNull Instant time, ZoneOffset zoneOffset) {
        return time
                .atOffset(zoneOffset)
                .format(DateTimeFormatter.ISO_OFFSET_DATE_TIME);
    }
public static String formatDateTimeIso8601 ( @ NonNull Instant time , ZoneOffset zoneOffset ) { return time . atOffset ( zoneOffset ) . format ( DateTimeFormatter . ISO_OFFSET_DATE_TIME ) ; }
Formats the time using the ISO 8601 date time format with fractional seconds.
Formats the time using the ISO 8601 date time format with fractional seconds .