Refactor WeekFlags processing into UseEffectiveWeekDayFlags()
Use the new GetFirstWeekDay() function rather than GetCountry() == USA to determine the first weekday.
This commit is contained in:
parent
94c35b2cdd
commit
378851a283
2 changed files with 16 additions and 12 deletions
|
|
@ -1145,6 +1145,9 @@ private:
|
|||
// functions
|
||||
inline bool IsInStdRange() const;
|
||||
|
||||
// assign the preferred first day of a week to flags, if necessary
|
||||
void UseEffectiveWeekDayFlags(WeekFlags &flags) const;
|
||||
|
||||
// the internal representation of the time is the amount of milliseconds
|
||||
// elapsed since the origin which is set by convention to the UNIX/C epoch
|
||||
// value: the midnight of January 1, 1970 (UTC)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue