is_same_day


Description:


public bool is_same_day (DateTime day1, DateTime day2)

Compare two GLib.DateTime and return true if they occur on the same day of the same year

Parameters:

day1

a GLib.DateTime to compare against day2

day2

a GLib.DateTime to compare against day1

Returns:

true if day1 and day2 occur on the same day of the same year. False otherwise


Namespace: Granite.DateTime
Package: granite-7