summaryrefslogtreecommitdiff
path: root/src/SMAPI/Utilities/SDate.cs
AgeCommit message (Collapse)Author
2022-04-13enable nullable annotations in SMAPI where no logic changes are needed (#837)Jesse Plamondon-Willard
2022-04-06enable nullable annotations by default (#837)Jesse Plamondon-Willard
This adds `#nullable disable` to all existing code (except where null is impossible like enum files), so it can be migrated incrementally.
2022-01-29normalize season names in SDate constructorJesse Plamondon-Willard
2020-08-23minor cleanupJesse Plamondon-Willard
2020-08-09add support for read/writing SDate to JSONJesse Plamondon-Willard
2020-04-17support lowercase season names in date translationsJesse Plamondon-Willard
2020-04-17use better short date translationsJesse Plamondon-Willard
2020-04-15tweak new code, update release notesJesse Plamondon-Willard
2020-04-14SDate: fixes to new methodsKevin Daughtridge
- FromWorldDate: replace with explicit operator SDate - ToWorldDate: replace with explicit operator WorldDate - ToLocaleString: use Utility.getDateStringFor directly - FromDaysSinceStart: reinterpret exception to an appropriate one
2020-04-13SDate: Add WorldDate conversions and featuresKevin Daughtridge
- SeasonIndex - FromWorldDate() - FromDaysSinceStart() - ToLocaleString() - ToWorldDate()
2019-09-14fix typos and inconsistent spellingJesse Plamondon-Willard
2019-09-14fix year edge case in date calculationsJesse Plamondon-Willard
2018-12-27tweak comment header conventionJesse Plamondon-Willard
2017-11-26add date.DaysSinceStart property, add unit tests, update release notes (#390)Jesse Plamondon-Willard
2017-11-08Adding a date functionNicholas Johnson
2017-10-13fix SDate.Now() crashing during new-game intro (#369)Jesse Plamondon-Willard
2017-10-07reorganise repo structureJesse Plamondon-Willard