a пре 2 недеља
родитељ
комит
8cbad025ee
71 измењених фајлова са 810 додато и 0 уклоњено
  1. BIN
      Desktop/eew/1.jpg
  2. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/DesignTimeBuild/.dtbcache.v2
  3. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/43f965e9-76a3-46cc-a23a-b8326c3ee8e2.vsidx
  4. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/53cce694-4b2f-4e10-affa-ed69aca57581.vsidx
  5. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/76d5ef01-0639-475a-a727-cabcf46e8f6b.vsidx
  6. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/8acffc3c-f82d-4305-9754-3f1e6d6bdc04.vsidx
  7. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/e704d608-0857-4e1a-a642-62a3973fb529.vsidx
  8. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/.futdcache.v2
  9. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/.suo
  10. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/TestStore/0/000.testlog
  11. BIN
      Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/TestStore/0/testlog.manifest
  12. BIN
      Desktop/eew/CompanyCoreLib/.vs/ProjectEvaluation/companycorelib.metadata.v7.bin
  13. BIN
      Desktop/eew/CompanyCoreLib/.vs/ProjectEvaluation/companycorelib.projects.v7.bin
  14. 38 0
      Desktop/eew/CompanyCoreLib/Analytics.cs
  15. 9 0
      Desktop/eew/CompanyCoreLib/CompanyCoreLib.csproj
  16. 31 0
      Desktop/eew/CompanyCoreLib/CompanyCoreLib.sln
  17. 23 0
      Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.deps.json
  18. BIN
      Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.dll
  19. BIN
      Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.pdb
  20. 63 0
      Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.dgspec.json
  21. 15 0
      Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.g.props
  22. 2 0
      Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.g.targets
  23. 4 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs
  24. 23 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.AssemblyInfo.cs
  25. 1 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.AssemblyInfoInputs.cache
  26. 13 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.GeneratedMSBuildEditorConfig.editorconfig
  27. 8 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.GlobalUsings.g.cs
  28. BIN
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.assets.cache
  29. 0 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.BuildWithSkipAnalyzers
  30. 1 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.CoreCompileInputs.cache
  31. 11 0
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.FileListAbsolute.txt
  32. BIN
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.dll
  33. BIN
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.pdb
  34. BIN
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/ref/CompanyCoreLib.dll
  35. BIN
      Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/refint/CompanyCoreLib.dll
  36. 68 0
      Desktop/eew/CompanyCoreLib/obj/project.assets.json
  37. 8 0
      Desktop/eew/CompanyCoreLib/obj/project.nuget.cache
  38. 14 0
      Desktop/eew/ConsoleApp1/ConsoleApp1.csproj
  39. 9 0
      Desktop/eew/ConsoleApp1/ConsoleApp1.csproj.user
  40. 27 0
      Desktop/eew/ConsoleApp1/Program.cs
  41. 11 0
      Desktop/eew/ConsoleApp1/Properties/launchSettings.json
  42. BIN
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/CompanyCoreLib.dll
  43. BIN
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/CompanyCoreLib.pdb
  44. 36 0
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.deps.json
  45. BIN
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.dll
  46. BIN
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.exe
  47. BIN
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.pdb
  48. 12 0
      Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.runtimeconfig.json
  49. 122 0
      Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json
  50. 15 0
      Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props
  51. 2 0
      Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets
  52. 4 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs
  53. 23 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.AssemblyInfo.cs
  54. 1 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.AssemblyInfoInputs.cache
  55. 13 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.GeneratedMSBuildEditorConfig.editorconfig
  56. 8 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.GlobalUsings.g.cs
  57. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.assets.cache
  58. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.AssemblyReference.cache
  59. 0 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.BuildWithSkipAnalyzers
  60. 0 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.CopyComplete
  61. 1 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.CoreCompileInputs.cache
  62. 18 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.FileListAbsolute.txt
  63. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.dll
  64. 1 0
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.genruntimeconfig.cache
  65. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.pdb
  66. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/apphost.exe
  67. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ref/ConsoleApp1.dll
  68. BIN
      Desktop/eew/ConsoleApp1/obj/Debug/net8.0/refint/ConsoleApp1.dll
  69. 91 0
      Desktop/eew/ConsoleApp1/obj/project.assets.json
  70. 8 0
      Desktop/eew/ConsoleApp1/obj/project.nuget.cache
  71. 76 0
      Desktop/eew/readme.md

BIN
Desktop/eew/1.jpg


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/DesignTimeBuild/.dtbcache.v2


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/43f965e9-76a3-46cc-a23a-b8326c3ee8e2.vsidx


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/53cce694-4b2f-4e10-affa-ed69aca57581.vsidx


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/76d5ef01-0639-475a-a727-cabcf46e8f6b.vsidx


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/8acffc3c-f82d-4305-9754-3f1e6d6bdc04.vsidx


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/FileContentIndex/e704d608-0857-4e1a-a642-62a3973fb529.vsidx


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/.futdcache.v2


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/.suo


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/TestStore/0/000.testlog


BIN
Desktop/eew/CompanyCoreLib/.vs/CompanyCoreLib/v17/TestStore/0/testlog.manifest


BIN
Desktop/eew/CompanyCoreLib/.vs/ProjectEvaluation/companycorelib.metadata.v7.bin


BIN
Desktop/eew/CompanyCoreLib/.vs/ProjectEvaluation/companycorelib.projects.v7.bin


+ 38 - 0
Desktop/eew/CompanyCoreLib/Analytics.cs

@@ -0,0 +1,38 @@
+namespace CompanyCoreLib
+{
+    public class Analytics
+    {
+        public List<DateTime> PopularMonths(List<DateTime> dates)
+        {
+            var dateTimeCounterDictionary = new Dictionary<DateTime, int>();
+            int previousYear = DateTime.Now.Year - 1;
+
+            foreach (DateTime iterDate in dates)
+            {
+                if (iterDate.Year == previousYear)
+                {
+                    // вычисляем начало месяца для текущей даты
+                    var dateMonthStart = new DateTime(
+                        iterDate.Year,  // год
+                        iterDate.Month, // месяц
+                        1);             // день
+
+                    if (dateTimeCounterDictionary.ContainsKey(dateMonthStart))
+                    {
+                        dateTimeCounterDictionary[dateMonthStart]++;
+                    }
+                    else
+                    {
+                        dateTimeCounterDictionary[dateMonthStart] = 1;
+                    }
+                }
+            }
+
+            return dateTimeCounterDictionary
+                .OrderByDescending(pair => pair.Value)
+                .ThenBy(pair => pair.Key)               
+                .Select(pair => pair.Key)               
+                .ToList();                              
+        }
+    }
+}

+ 9 - 0
Desktop/eew/CompanyCoreLib/CompanyCoreLib.csproj

@@ -0,0 +1,9 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <TargetFramework>net8.0</TargetFramework>
+    <ImplicitUsings>enable</ImplicitUsings>
+    <Nullable>enable</Nullable>
+  </PropertyGroup>
+
+</Project>

+ 31 - 0
Desktop/eew/CompanyCoreLib/CompanyCoreLib.sln

@@ -0,0 +1,31 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.8.34330.188
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CompanyCoreLib", "CompanyCoreLib.csproj", "{FF8A362C-F471-4E71-8ADD-1022A9405B36}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "..\ConsoleApp1\ConsoleApp1.csproj", "{BD4482E7-00EA-44A4-A7EC-28A2AE6A2E24}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{FF8A362C-F471-4E71-8ADD-1022A9405B36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{FF8A362C-F471-4E71-8ADD-1022A9405B36}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{FF8A362C-F471-4E71-8ADD-1022A9405B36}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{FF8A362C-F471-4E71-8ADD-1022A9405B36}.Release|Any CPU.Build.0 = Release|Any CPU
+		{BD4482E7-00EA-44A4-A7EC-28A2AE6A2E24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{BD4482E7-00EA-44A4-A7EC-28A2AE6A2E24}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{BD4482E7-00EA-44A4-A7EC-28A2AE6A2E24}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{BD4482E7-00EA-44A4-A7EC-28A2AE6A2E24}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {4E74C1D5-56A7-4143-A583-938A5B254CE3}
+	EndGlobalSection
+EndGlobal

+ 23 - 0
Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.deps.json

@@ -0,0 +1,23 @@
+{
+  "runtimeTarget": {
+    "name": ".NETCoreApp,Version=v8.0",
+    "signature": ""
+  },
+  "compilationOptions": {},
+  "targets": {
+    ".NETCoreApp,Version=v8.0": {
+      "CompanyCoreLib/1.0.0": {
+        "runtime": {
+          "CompanyCoreLib.dll": {}
+        }
+      }
+    }
+  },
+  "libraries": {
+    "CompanyCoreLib/1.0.0": {
+      "type": "project",
+      "serviceable": false,
+      "sha512": ""
+    }
+  }
+}

BIN
Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.dll


BIN
Desktop/eew/CompanyCoreLib/bin/Debug/net8.0/CompanyCoreLib.pdb


+ 63 - 0
Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.dgspec.json

@@ -0,0 +1,63 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+        "projectName": "CompanyCoreLib",
+        "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+        "packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\obj\\",
+        "projectStyle": "PackageReference",
+        "configFilePaths": [
+          "C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net8.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net8.0": {
+            "targetAlias": "net8.0",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net8.0": {
+          "targetAlias": "net8.0",
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48",
+            "net481"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100/PortableRuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 15 - 0
Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.g.props

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\User\.nuget\packages\</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\User\.nuget\packages\" />
+  </ItemGroup>
+</Project>

+ 2 - 0
Desktop/eew/CompanyCoreLib/obj/CompanyCoreLib.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 4 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

+ 23 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.AssemblyInfo.cs

@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("CompanyCoreLib")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("CompanyCoreLib")]
+[assembly: System.Reflection.AssemblyTitleAttribute("CompanyCoreLib")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+caf1e5829d9b9d513f33e994211f7bef299d0c5b5270b0402d61bf5c371e37fd

+ 13 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,13 @@
+is_global = true
+build_property.TargetFramework = net8.0
+build_property.TargetPlatformMinVersion = 
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.InvariantGlobalization = 
+build_property.PlatformNeutralAssembly = 
+build_property.EnforceExtendedAnalyzerRules = 
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = CompanyCoreLib
+build_property.ProjectDir = C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\
+build_property.EnableComHosting = 
+build_property.EnableGeneratedComInterfaceComImportInterop = 

+ 8 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.GlobalUsings.g.cs

@@ -0,0 +1,8 @@
+// <auto-generated/>
+global using global::System;
+global using global::System.Collections.Generic;
+global using global::System.IO;
+global using global::System.Linq;
+global using global::System.Net.Http;
+global using global::System.Threading;
+global using global::System.Threading.Tasks;

BIN
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.assets.cache


+ 0 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.BuildWithSkipAnalyzers


+ 1 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+0494e8043e4b2139e7f768a5e380d7cc19ade81557d9d764afb9b8576dc09e34

+ 11 - 0
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.csproj.FileListAbsolute.txt

@@ -0,0 +1,11 @@
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\bin\Debug\net8.0\CompanyCoreLib.deps.json
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\bin\Debug\net8.0\CompanyCoreLib.dll
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\bin\Debug\net8.0\CompanyCoreLib.pdb
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.AssemblyInfoInputs.cache
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.AssemblyInfo.cs
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.csproj.CoreCompileInputs.cache
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.dll
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\refint\CompanyCoreLib.dll
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\CompanyCoreLib.pdb
+C:\Users\User\Desktop\не рабочая хуйня\CompanyCoreLib\obj\Debug\net8.0\ref\CompanyCoreLib.dll

BIN
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.dll


BIN
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/CompanyCoreLib.pdb


BIN
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/ref/CompanyCoreLib.dll


BIN
Desktop/eew/CompanyCoreLib/obj/Debug/net8.0/refint/CompanyCoreLib.dll


+ 68 - 0
Desktop/eew/CompanyCoreLib/obj/project.assets.json

@@ -0,0 +1,68 @@
+{
+  "version": 3,
+  "targets": {
+    "net8.0": {}
+  },
+  "libraries": {},
+  "projectFileDependencyGroups": {
+    "net8.0": []
+  },
+  "packageFolders": {
+    "C:\\Users\\User\\.nuget\\packages\\": {}
+  },
+  "project": {
+    "version": "1.0.0",
+    "restore": {
+      "projectUniqueName": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+      "projectName": "CompanyCoreLib",
+      "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+      "packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
+      "outputPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\obj\\",
+      "projectStyle": "PackageReference",
+      "configFilePaths": [
+        "C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
+        "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+      ],
+      "originalTargetFrameworks": [
+        "net8.0"
+      ],
+      "sources": {
+        "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+        "https://api.nuget.org/v3/index.json": {}
+      },
+      "frameworks": {
+        "net8.0": {
+          "targetAlias": "net8.0",
+          "projectReferences": {}
+        }
+      },
+      "warningProperties": {
+        "warnAsError": [
+          "NU1605"
+        ]
+      }
+    },
+    "frameworks": {
+      "net8.0": {
+        "targetAlias": "net8.0",
+        "imports": [
+          "net461",
+          "net462",
+          "net47",
+          "net471",
+          "net472",
+          "net48",
+          "net481"
+        ],
+        "assetTargetFallback": true,
+        "warn": true,
+        "frameworkReferences": {
+          "Microsoft.NETCore.App": {
+            "privateAssets": "all"
+          }
+        },
+        "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100/PortableRuntimeIdentifierGraph.json"
+      }
+    }
+  }
+}

+ 8 - 0
Desktop/eew/CompanyCoreLib/obj/project.nuget.cache

@@ -0,0 +1,8 @@
+{
+  "version": 2,
+  "dgSpecHash": "a6xdE9n6WGPESMkMqXGGr5IvSug8pe5n9tyZiQnbsz2i7jlzHOLriKbe0gEXnjrXH6wM7dxh60msQCKjEKdFvw==",
+  "success": true,
+  "projectFilePath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+  "expectedPackageFiles": [],
+  "logs": []
+}

+ 14 - 0
Desktop/eew/ConsoleApp1/ConsoleApp1.csproj

@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <OutputType>Exe</OutputType>
+    <TargetFramework>net8.0</TargetFramework>
+    <ImplicitUsings>enable</ImplicitUsings>
+    <Nullable>enable</Nullable>
+  </PropertyGroup>
+
+  <ItemGroup>
+    <ProjectReference Include="..\CompanyCoreLib\CompanyCoreLib.csproj" />
+  </ItemGroup>
+
+</Project>

+ 9 - 0
Desktop/eew/ConsoleApp1/ConsoleApp1.csproj.user

@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
+    <DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
+  </PropertyGroup>
+  <PropertyGroup>
+    <ActiveDebugProfile>ConsoleApp1</ActiveDebugProfile>
+  </PropertyGroup>
+</Project>

+ 27 - 0
Desktop/eew/ConsoleApp1/Program.cs

@@ -0,0 +1,27 @@
+using CompanyCoreLib;
+using System;
+using System.Collections.Generic;
+using System.Linq; 
+
+// создаём экземпляр класса аналитики
+var analytics = new Analytics();
+
+// подгатавливаем массив тестовых данных
+var srcDates = new List<DateTime>()
+{
+    new DateTime(2020,11,01,0,0,0),
+    new DateTime(2032,05,03,0,0,0),
+    new DateTime(2023,12,10,0,0,0),
+    new DateTime(2023,11,11,0,0,0),
+    new DateTime(2023,11,09,0,0,0),
+};
+
+// выполняем метод и получаем результат
+var outDates = analytics.PopularMonths(srcDates);
+var sortedDates = srcDates.OrderByDescending(date => date).ToList();
+
+// выводим результат в консоль
+foreach (var date in sortedDates)
+{
+    Console.WriteLine(date.ToString());
+}

+ 11 - 0
Desktop/eew/ConsoleApp1/Properties/launchSettings.json

@@ -0,0 +1,11 @@
+{
+  "profiles": {
+    "ConsoleApp1": {
+      "commandName": "Project"
+    },
+    "WSL": {
+      "commandName": "WSL2",
+      "distributionName": ""
+    }
+  }
+}

BIN
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/CompanyCoreLib.dll


BIN
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/CompanyCoreLib.pdb


+ 36 - 0
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.deps.json

@@ -0,0 +1,36 @@
+{
+  "runtimeTarget": {
+    "name": ".NETCoreApp,Version=v8.0",
+    "signature": ""
+  },
+  "compilationOptions": {},
+  "targets": {
+    ".NETCoreApp,Version=v8.0": {
+      "ConsoleApp1/1.0.0": {
+        "dependencies": {
+          "CompanyCoreLib": "1.0.0"
+        },
+        "runtime": {
+          "ConsoleApp1.dll": {}
+        }
+      },
+      "CompanyCoreLib/1.0.0": {
+        "runtime": {
+          "CompanyCoreLib.dll": {}
+        }
+      }
+    }
+  },
+  "libraries": {
+    "ConsoleApp1/1.0.0": {
+      "type": "project",
+      "serviceable": false,
+      "sha512": ""
+    },
+    "CompanyCoreLib/1.0.0": {
+      "type": "project",
+      "serviceable": false,
+      "sha512": ""
+    }
+  }
+}

BIN
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.dll


BIN
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.exe


BIN
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.pdb


+ 12 - 0
Desktop/eew/ConsoleApp1/bin/Debug/net8.0/ConsoleApp1.runtimeconfig.json

@@ -0,0 +1,12 @@
+{
+  "runtimeOptions": {
+    "tfm": "net8.0",
+    "framework": {
+      "name": "Microsoft.NETCore.App",
+      "version": "8.0.0"
+    },
+    "configProperties": {
+      "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
+    }
+  }
+}

+ 122 - 0
Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.dgspec.json

@@ -0,0 +1,122 @@
+{
+  "format": 1,
+  "restore": {
+    "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj": {}
+  },
+  "projects": {
+    "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+        "projectName": "CompanyCoreLib",
+        "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj",
+        "packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\obj\\",
+        "projectStyle": "PackageReference",
+        "configFilePaths": [
+          "C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net8.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net8.0": {
+            "targetAlias": "net8.0",
+            "projectReferences": {}
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net8.0": {
+          "targetAlias": "net8.0",
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48",
+            "net481"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100/PortableRuntimeIdentifierGraph.json"
+        }
+      }
+    },
+    "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj": {
+      "version": "1.0.0",
+      "restore": {
+        "projectUniqueName": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj",
+        "projectName": "ConsoleApp1",
+        "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj",
+        "packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
+        "outputPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\obj\\",
+        "projectStyle": "PackageReference",
+        "configFilePaths": [
+          "C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
+          "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+        ],
+        "originalTargetFrameworks": [
+          "net8.0"
+        ],
+        "sources": {
+          "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+          "https://api.nuget.org/v3/index.json": {}
+        },
+        "frameworks": {
+          "net8.0": {
+            "targetAlias": "net8.0",
+            "projectReferences": {
+              "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj": {
+                "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj"
+              }
+            }
+          }
+        },
+        "warningProperties": {
+          "warnAsError": [
+            "NU1605"
+          ]
+        }
+      },
+      "frameworks": {
+        "net8.0": {
+          "targetAlias": "net8.0",
+          "imports": [
+            "net461",
+            "net462",
+            "net47",
+            "net471",
+            "net472",
+            "net48",
+            "net481"
+          ],
+          "assetTargetFallback": true,
+          "warn": true,
+          "frameworkReferences": {
+            "Microsoft.NETCore.App": {
+              "privateAssets": "all"
+            }
+          },
+          "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100/PortableRuntimeIdentifierGraph.json"
+        }
+      }
+    }
+  }
+}

+ 15 - 0
Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.props

@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
+    <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
+    <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
+    <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+    <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\User\.nuget\packages\</NuGetPackageFolders>
+    <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
+    <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
+  </PropertyGroup>
+  <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
+    <SourceRoot Include="C:\Users\User\.nuget\packages\" />
+  </ItemGroup>
+</Project>

+ 2 - 0
Desktop/eew/ConsoleApp1/obj/ConsoleApp1.csproj.nuget.g.targets

@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

+ 4 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs

@@ -0,0 +1,4 @@
+// <autogenerated />
+using System;
+using System.Reflection;
+[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

+ 23 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.AssemblyInfo.cs

@@ -0,0 +1,23 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     Этот код создан программой.
+//     Исполняемая версия:4.0.30319.42000
+//
+//     Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
+//     повторной генерации кода.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using System;
+using System.Reflection;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
+[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
+[assembly: System.Reflection.AssemblyProductAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyTitleAttribute("ConsoleApp1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
+
+// Создано классом WriteCodeFragment MSBuild.
+

+ 1 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.AssemblyInfoInputs.cache

@@ -0,0 +1 @@
+9b4e1ef5f091261e36ca58379f5aa497ab4a942f19c985f94bfc1a6e372da8c3

+ 13 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.GeneratedMSBuildEditorConfig.editorconfig

@@ -0,0 +1,13 @@
+is_global = true
+build_property.TargetFramework = net8.0
+build_property.TargetPlatformMinVersion = 
+build_property.UsingMicrosoftNETSdkWeb = 
+build_property.ProjectTypeGuids = 
+build_property.InvariantGlobalization = 
+build_property.PlatformNeutralAssembly = 
+build_property.EnforceExtendedAnalyzerRules = 
+build_property._SupportedPlatformList = Linux,macOS,Windows
+build_property.RootNamespace = ConsoleApp1
+build_property.ProjectDir = C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\
+build_property.EnableComHosting = 
+build_property.EnableGeneratedComInterfaceComImportInterop = 

+ 8 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.GlobalUsings.g.cs

@@ -0,0 +1,8 @@
+// <auto-generated/>
+global using global::System;
+global using global::System.Collections.Generic;
+global using global::System.IO;
+global using global::System.Linq;
+global using global::System.Net.Http;
+global using global::System.Threading;
+global using global::System.Threading.Tasks;

BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.assets.cache


BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.AssemblyReference.cache


+ 0 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.BuildWithSkipAnalyzers


+ 0 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.CopyComplete


+ 1 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.CoreCompileInputs.cache

@@ -0,0 +1 @@
+dfeabc88e7ae5a550f2d0011d22df75102764679dc9b8bc81da9da23dc1744dd

+ 18 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.csproj.FileListAbsolute.txt

@@ -0,0 +1,18 @@
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.exe
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.deps.json
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.runtimeconfig.json
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.dll
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\ConsoleApp1.pdb
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\CompanyCoreLib.dll
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\bin\Debug\net8.0\CompanyCoreLib.pdb
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.csproj.AssemblyReference.cache
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.AssemblyInfoInputs.cache
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.AssemblyInfo.cs
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.csproj.CoreCompileInputs.cache
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.csproj.CopyComplete
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.dll
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\refint\ConsoleApp1.dll
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.pdb
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ConsoleApp1.genruntimeconfig.cache
+C:\Users\User\Desktop\не рабочая хуйня\ConsoleApp1\obj\Debug\net8.0\ref\ConsoleApp1.dll

BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.dll


+ 1 - 0
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.genruntimeconfig.cache

@@ -0,0 +1 @@
+2fd8a6aca0514bb639fd69b41c32664a34a3ac6106c8f0bf9172c4e9c4b4b5a4

BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ConsoleApp1.pdb


BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/apphost.exe


BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/ref/ConsoleApp1.dll


BIN
Desktop/eew/ConsoleApp1/obj/Debug/net8.0/refint/ConsoleApp1.dll


+ 91 - 0
Desktop/eew/ConsoleApp1/obj/project.assets.json

@@ -0,0 +1,91 @@
+{
+  "version": 3,
+  "targets": {
+    "net8.0": {
+      "CompanyCoreLib/1.0.0": {
+        "type": "project",
+        "framework": ".NETCoreApp,Version=v8.0",
+        "compile": {
+          "bin/placeholder/CompanyCoreLib.dll": {}
+        },
+        "runtime": {
+          "bin/placeholder/CompanyCoreLib.dll": {}
+        }
+      }
+    }
+  },
+  "libraries": {
+    "CompanyCoreLib/1.0.0": {
+      "type": "project",
+      "path": "../CompanyCoreLib/CompanyCoreLib.csproj",
+      "msbuildProject": "../CompanyCoreLib/CompanyCoreLib.csproj"
+    }
+  },
+  "projectFileDependencyGroups": {
+    "net8.0": [
+      "CompanyCoreLib >= 1.0.0"
+    ]
+  },
+  "packageFolders": {
+    "C:\\Users\\User\\.nuget\\packages\\": {}
+  },
+  "project": {
+    "version": "1.0.0",
+    "restore": {
+      "projectUniqueName": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj",
+      "projectName": "ConsoleApp1",
+      "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj",
+      "packagesPath": "C:\\Users\\User\\.nuget\\packages\\",
+      "outputPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\obj\\",
+      "projectStyle": "PackageReference",
+      "configFilePaths": [
+        "C:\\Users\\User\\AppData\\Roaming\\NuGet\\NuGet.Config",
+        "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
+      ],
+      "originalTargetFrameworks": [
+        "net8.0"
+      ],
+      "sources": {
+        "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+        "https://api.nuget.org/v3/index.json": {}
+      },
+      "frameworks": {
+        "net8.0": {
+          "targetAlias": "net8.0",
+          "projectReferences": {
+            "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj": {
+              "projectPath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\CompanyCoreLib\\CompanyCoreLib.csproj"
+            }
+          }
+        }
+      },
+      "warningProperties": {
+        "warnAsError": [
+          "NU1605"
+        ]
+      }
+    },
+    "frameworks": {
+      "net8.0": {
+        "targetAlias": "net8.0",
+        "imports": [
+          "net461",
+          "net462",
+          "net47",
+          "net471",
+          "net472",
+          "net48",
+          "net481"
+        ],
+        "assetTargetFallback": true,
+        "warn": true,
+        "frameworkReferences": {
+          "Microsoft.NETCore.App": {
+            "privateAssets": "all"
+          }
+        },
+        "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.100/PortableRuntimeIdentifierGraph.json"
+      }
+    }
+  }
+}

+ 8 - 0
Desktop/eew/ConsoleApp1/obj/project.nuget.cache

@@ -0,0 +1,8 @@
+{
+  "version": 2,
+  "dgSpecHash": "EQhZTY/SJF7MueQm2kP90SkY9lnGpFtN1NDeZe7x6BCI8oSSaG6Qm5x3rekaDCbqolIPFRgyijO5ysrN1mp6sg==",
+  "success": true,
+  "projectFilePath": "C:\\Users\\User\\Desktop\\не рабочая хуйня\\ConsoleApp1\\ConsoleApp1.csproj",
+  "expectedPackageFiles": [],
+  "logs": []
+}

+ 76 - 0
Desktop/eew/readme.md

@@ -0,0 +1,76 @@
+# Эщкерембус
+
+###  Program.cs
+
+~~~
+using CompanyCoreLib;
+using System;
+using System.Collections.Generic;
+using System.Linq; 
+
+// создаём экземпляр класса аналитики
+var analytics = new Analytics();
+
+// подгатавливаем массив тестовых данных
+var srcDates = new List<DateTime>()
+{
+    new DateTime(2020,11,01,0,0,0),
+    new DateTime(2032,05,03,0,0,0),
+    new DateTime(2023,12,10,0,0,0),
+    new DateTime(2023,11,11,0,0,0),
+    new DateTime(2023,11,09,0,0,0),
+};
+
+// выполняем метод и получаем результат
+var outDates = analytics.PopularMonths(srcDates);
+var sortedDates = srcDates.OrderByDescending(date => date).ToList();
+
+// выводим результат в консоль
+foreach (var date in sortedDates)
+{
+    Console.WriteLine(date.ToString());
+}
+~~~
+
+### Analytics.cs
+
+~~~
+namespace CompanyCoreLib
+{
+    public class Analytics
+    {
+        public List<DateTime> PopularMonths(List<DateTime> dates)
+        {
+            var dateTimeCounterDictionary = new Dictionary<DateTime, int>();
+            int previousYear = DateTime.Now.Year - 1;
+
+            foreach (DateTime iterDate in dates)
+            {
+                if (iterDate.Year == previousYear)
+                {
+                    // вычисляем начало месяца для текущей даты
+                    var dateMonthStart = new DateTime(
+                        iterDate.Year,  // год
+                        iterDate.Month, // месяц
+                        1);             // день
+
+                    if (dateTimeCounterDictionary.ContainsKey(dateMonthStart))
+                    {
+                        dateTimeCounterDictionary[dateMonthStart]++;
+                    }
+                    else
+                    {
+                        dateTimeCounterDictionary[dateMonthStart] = 1;
+                    }
+                }
+            }
+
+            return dateTimeCounterDictionary
+                .OrderByDescending(pair => pair.Value)
+                .ThenBy(pair => pair.Key)               
+                .Select(pair => pair.Key)               
+                .ToList();                              
+        }
+    }
+}
+~~~