ISO8601d: Added ::startOfYear
This commit is contained in:
@@ -860,6 +860,12 @@ ISO8601d ISO8601d::startOfMonth () const
|
||||
return ISO8601d (month (), 1, year ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
ISO8601d ISO8601d::startOfYear () const
|
||||
{
|
||||
return ISO8601d (1, 1, year ());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Static
|
||||
bool ISO8601d::leapYear (int year)
|
||||
|
||||
Reference in New Issue
Block a user