Source

pebble / lib / src / pebble_th.h

Diff from to

File lib/src/pebble_th.h

 );
 
 
+/** Compute the phase of the moon.
+ * 0 == new moon,
+ * 2953 == almost a full moon.
+ */
+uint32_t
+moonphase(
+	const PblTm * const now
+);
+
+
+uint32_t
+julian_day_pbl(
+	const PblTm * const now
+);
+
+
+uint32_t
+julian_day(
+	const int year, // since 0
+	const int month, // 1 - 12
+	const int day // 1 - 31
+);
+
+
+uint32_t
+days_since_1900(
+	uint32_t year
+);
+
 #endif