From 3b36bbf5312f7871ab4b97f7653c2daee427f10a Mon Sep 17 00:00:00 2001 From: John Ralls Date: Sun, 17 Nov 2019 15:47:42 -0800 Subject: [PATCH] Clean up comments for GncOptionDateValue. --- libgnucash/app-utils/gnc-option.hpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libgnucash/app-utils/gnc-option.hpp b/libgnucash/app-utils/gnc-option.hpp index 110d633cbe2..d8e483943ef 100644 --- a/libgnucash/app-utils/gnc-option.hpp +++ b/libgnucash/app-utils/gnc-option.hpp @@ -470,14 +470,18 @@ class GncOptionAccountValue : }; /** Date options - * A legal date value is a pair of either and a RelativeDatePeriod, the absolute flag and a time64, or for legacy purposes the absolute flag and a timespec. - * The original design allowed custom RelativeDatePeriods, but that facility is unused so we'll go with compiled-in enums. - + * A legal date value is a pair of either and a RelativeDatePeriod, the absolute + * flag and a time64, or for legacy purposes the absolute flag and a timespec. + * + * The original design allowed custom RelativeDatePeriods, but that facility is + * unused so we'll go with compiled-in enums. + */ +/* gnc-date-option-show-time? -- option_data[1] gnc-date-option-get-subtype -- option_data[0] gnc-date-option-value-type m_value -gnc-date-option-absolute-time -gnc-date-option-relative-time +gnc-date-option-absolute-time m_type == DateTyupe::Absolute +gnc-date-option-relative-time m_type != DateTyupe::Absolute */ enum class DateType