mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
15 lines
284 B
C++
15 lines
284 B
C++
#include "Days.h"
|
|
|
|
Days::Days()
|
|
{
|
|
CtrlLayout(*this, "Days");
|
|
date1 ^= date2 ^= [=] {
|
|
result = IsNull(date1) || IsNull(date2) ? "" :
|
|
Format("There is %d day(s) between %` and %`", abs(Date(~date1) - Date(~date2)), ~date1, ~date2);
|
|
};
|
|
}
|
|
|
|
GUI_APP_MAIN
|
|
{
|
|
Days().Run();
|
|
}
|