aboutsummaryrefslogtreecommitdiff
path: root/include/datetime/date-time.h
Commit message (Collapse)AuthorAgeFilesLines
* add DateTime::end_of_month(), DateTime::end_of_day(). Add unit tests for them.Charles Kerr2015-03-161-2/+6
|
* in DateTime::is_set(), include timezone testCharles Kerr2015-03-161-1/+1
|
* Add DateTime::start_of_day() to use instead of the add_hours(-hours()) ↵Charles Kerr2015-03-141-3/+7
| | | | | | | trick, which doesn't work on days when DST changes. Implementing this requires DateTime objects to keep their own GTimeZone pointer, since the one inside GDateTime is private and can't be used for DateTime::start_of_day()'s call to g_date_time_new(). As a result the public API of DateTime changes, since we'll need a GTimeZone when constructing or assigning from a GDateTime pointer.
* in date-time.h, remove unnecessary get() call. (h/t ted)Charles Kerr2014-06-101-1/+1
|
* hw alarmsCharles Kerr2014-04-241-0/+3
|
* decouple the planner's states; need three separate sets: upcoming-now (for ↵Charles Kerr2014-03-091-0/+5
| | | | alarms in the current time), upcoming-calendar (to show events coming from the selected calendar date), and calendar-month (all the appointments in the month displayed in the menu).
* another pass at removing alarms from the menu once they're no longer ↵Charles Kerr2014-02-051-0/+3
| | | | upcoming. This version fixes the header's icon as well.
* as per review, don't inline unless there are performance issuesCharles Kerr2014-01-301-3/+3
|
* Alarms is going to need to know when the clock's minute changes. We already ↵Charles Kerr2014-01-221-2/+3
| | | | have a timer for that in Formatter, so move it from there to Clock and add a corresponding public signal Clock.minuteChanged that both Formatter and Alarms can use. Sync unit tests.
* move DateTime's impl from the header to a cc fileCharles Kerr2014-01-221-101/+20
|
* Fix GDateTime leak in DateTime::DateTime(time_t)Charles Kerr2014-01-221-1/+5
|
* Function: add fully-tested ActionGroups, per-profile Menus, state object.Charles Kerr2014-01-141-26/+77
| | | | | | Form: Add code annotations/comments. Remove dead code. Use Mir style guide. Todo: GSettings toggles, sync with new dbus-test-runner API, get GNOME Panel building again
* add other datetime header filesCharles Kerr2013-12-171-0/+93