From 1a3cb984beede907941d4f345a15691bfe9c8c4b Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Tue, 28 Feb 2012 15:26:05 -0800 Subject: [PATCH] Fix comments on aca13c508711 --- .../apps/mytracks/io/file/CsvTrackWriter.java | 14 +++++++++++++- .../apps/mytracks/io/file/CsvTrackWriterTest.java | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/MyTracks/src/com/google/android/apps/mytracks/io/file/CsvTrackWriter.java b/MyTracks/src/com/google/android/apps/mytracks/io/file/CsvTrackWriter.java index 5381265de..5433767db 100644 --- a/MyTracks/src/com/google/android/apps/mytracks/io/file/CsvTrackWriter.java +++ b/MyTracks/src/com/google/android/apps/mytracks/io/file/CsvTrackWriter.java @@ -33,7 +33,19 @@ import java.io.PrintWriter; import java.text.NumberFormat; /** - * Write track as CSV to a file. + * Write track as CSV to a file. See RFC 4180 for info on CSV. Output three + * tables.
+ * The first table contains the track info. Its columns are:
+ * "Track name","Activity type","Track description"
+ *
+ * The second table contains the markers. Its columns are:
+ * "Marker name","Marker type","Marker description","Latitude (deg)","Longitude + * (deg)","Altitude (m)","Bearing (deg)","Accuracy (m)","Speed (m/s)","Time"
+ *
+ * The thrid table contains the points. Its columns are:
+ * "Segment","Point","Latitude (deg)","Longitude (deg)","Altitude (m)","Bearing + * (deg)","Accuracy (m)","Speed (m/s)","Time","Power (W)","Cadence (rpm)","Heart + * rate (bpm)","Battery level (%)"
* * @author Rodrigo Damazio */ diff --git a/MyTracksTest/src/com/google/android/apps/mytracks/io/file/CsvTrackWriterTest.java b/MyTracksTest/src/com/google/android/apps/mytracks/io/file/CsvTrackWriterTest.java index 43585e2e7..6c1177150 100644 --- a/MyTracksTest/src/com/google/android/apps/mytracks/io/file/CsvTrackWriterTest.java +++ b/MyTracksTest/src/com/google/android/apps/mytracks/io/file/CsvTrackWriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2010 Google Inc. + * Copyright 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of