mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
ISO8601d: Added ::startOfDay
This commit is contained in:
parent
2242cb2a8b
commit
9c9216acbf
2 changed files with 8 additions and 1 deletions
|
@ -840,6 +840,12 @@ bool ISO8601p::parse (const std::string& input, std::string::size_type& start)
|
|||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
ISO8601d ISO8601d::startOfDay () const
|
||||
{
|
||||
return ISO8601d (month (), day (), year ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Static
|
||||
bool ISO8601d::leapYear (int year)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue