diff --git a/.gitignore b/.gitignore index 5eeaae8..804010c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ ################################################################################ /Mk0.Tools.TimeTools/bin/Debug +/Mk0.Tools.TimeTools/obj/Debug +*.json diff --git a/.vs/Mk0.Tools.TimeTools/v15/.suo b/.vs/Mk0.Tools.TimeTools/v15/.suo index 2953ac4..4c4f440 100644 Binary files a/.vs/Mk0.Tools.TimeTools/v15/.suo and b/.vs/Mk0.Tools.TimeTools/v15/.suo differ diff --git a/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-shm b/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-shm index bfae23c..53c8a1b 100644 Binary files a/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-shm and b/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-shm differ diff --git a/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-wal b/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-wal index 22dcb07..0202d06 100644 Binary files a/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-wal and b/.vs/Mk0.Tools.TimeTools/v15/Server/sqlite3/storage.ide-wal differ diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite index c9948a1..e0977d4 100644 Binary files a/.vs/slnx.sqlite and b/.vs/slnx.sqlite differ diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9435247 --- /dev/null +++ b/LICENSE @@ -0,0 +1,9 @@ +Copyright 2000-2019 mk0.at and Manuel Kamper + +This is valid for all kind of software published via GitHub from "manuelkamp" and NuGet packages published via NuGet from "Manuel Kamper". + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..242fc35 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Mk0.Tools.TimeTools +(C) 2019 mk0.at + +Allows you to round DateTime Minutes Up/Down + +Usage: + +DateTime rounded = DateTime.Now.RoundDown(TimeSpan.FromMinutes(5)); \ No newline at end of file