Skip to content

Commit

Permalink
Clean up comments for GncOptionDateValue.
Browse files Browse the repository at this point in the history
  • Loading branch information
jralls committed Jul 11, 2021
1 parent aaf6b14 commit e583c84
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions libgnucash/app-utils/gnc-option.hpp
Expand Up @@ -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
Expand Down

0 comments on commit e583c84

Please sign in to comment.