Skip to content
Commit 33749d83 authored by Philip Withnall's avatar Philip Withnall 🚫
Browse files

gdate: Comment that g_date_valid_dmy() does all necessary bounds checks



Make it more obvious that an explicit check isn’t needed for the upper
bound on years, since it’s limited by the type width.

Add a unit test to demonstrate this.

Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>

https://bugzilla.gnome.org/show_bug.cgi?id=540013
parent f9ff7970
Pipeline #8814 passed with stage
in 2 minutes and 21 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment