datetime: clean-ups and new API adjustments
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jun 2012 22:52:02 +0000 (23:52 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 12 Jun 2012 22:56:28 +0000 (23:56 +0100)
commit5b37641cbcdec1ad744404800fca87fa8a7d60e9
tree4aa29fd46d148f9d88ca215fe4dcb28d086c4bb4
parent000ebef2f4d649015f6689a13e32d016d126e78f
datetime: clean-ups and new API adjustments

Remove constructors we don't want:
gst_date_time_new_ymd_h() because we don't want to
support hour-only for now;
gst_date_time_new_ymd_hm() because we don't want to
add constructors with time info where the caller doesn't
have to think about what timezone the time is in.
Lots of compulsive clean-up. Docs fixes. Replace
has_minute() and has_hour() with has_time().
gst/gstdatetime.c
gst/gstdatetime.h