|
|
@@ -3,7 +3,7 @@
|
|
|
* Company: Lynar Studios
|
|
|
* E-Mail: webmaster@lynarstudios.com
|
|
|
* Created: 2023-03-29
|
|
|
-* Changed: 2023-05-17
|
|
|
+* Changed: 2025-12-21
|
|
|
*
|
|
|
* */
|
|
|
|
|
|
@@ -17,7 +17,7 @@ using ls::std::time::type::Month;
|
|
|
using ls::std::time::type::Second;
|
|
|
using ls::std::time::type::Year;
|
|
|
|
|
|
-DateParameter::DateParameter(Year _year, Month _month, Day _day, Hour _hour, Minute _minute, Second _second) : day(_day), hour(_hour), minute(_minute), month(_month), second(_second), year(_year)
|
|
|
+DateParameter::DateParameter(const Year _year, const Month _month, const Day _day, const Hour _hour, const Minute _minute, const Second _second) : day(_day), hour(_hour), minute(_minute), month(_month), second(_second), year(_year)
|
|
|
{}
|
|
|
|
|
|
DateParameter::DateParameter() = default;
|
|
|
@@ -59,32 +59,32 @@ Year DateParameter::getYear() const
|
|
|
return this->year;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setDay(Day _day)
|
|
|
+void DateParameter::setDay(const Day _day)
|
|
|
{
|
|
|
this->day = _day;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setHour(Hour _hour)
|
|
|
+void DateParameter::setHour(const Hour _hour)
|
|
|
{
|
|
|
this->hour = _hour;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setMinute(Minute _minute)
|
|
|
+void DateParameter::setMinute(const Minute _minute)
|
|
|
{
|
|
|
this->minute = _minute;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setMonth(Month _month)
|
|
|
+void DateParameter::setMonth(const Month _month)
|
|
|
{
|
|
|
this->month = _month;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setSecond(Second _second)
|
|
|
+void DateParameter::setSecond(const Second _second)
|
|
|
{
|
|
|
this->second = _second;
|
|
|
}
|
|
|
|
|
|
-void DateParameter::setYear(Year _year)
|
|
|
+void DateParameter::setYear(const Year _year)
|
|
|
{
|
|
|
this->year = _year;
|
|
|
}
|