Modify ClipTime to adjust to local time before clipping (#558)

This commit is contained in:
Rudy Huyn 2019-06-26 16:17:47 -07:00 committed by Eric Wong
parent 499e29933c
commit cb5dfdda7b
2 changed files with 30 additions and 9 deletions

View file

@ -110,7 +110,7 @@ namespace CalculatorApp
Platform::String ^ GetDateDiffString() const;
Platform::String ^ GetDateDiffStringInDays() const;
Platform::String ^ GetLocalizedNumberString(int value) const;
static Windows::Foundation::DateTime ClipTime(Windows::Foundation::DateTime dateTime);
static Windows::Foundation::DateTime ClipTime(Windows::Foundation::DateTime dateTime, bool adjustToLocalTime);
property bool IsOutOfBound
{