From 0e3103d8b8402bf1b07b1382324b8ef161c0cd3a Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 3 Jul 2023 08:16:34 +0200 Subject: [PATCH] Aggiunto metodo clone x periodo --- EgwCoreLib.Utils/DtUtils.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EgwCoreLib.Utils/DtUtils.cs b/EgwCoreLib.Utils/DtUtils.cs index cbca72f..c87d66e 100644 --- a/EgwCoreLib.Utils/DtUtils.cs +++ b/EgwCoreLib.Utils/DtUtils.cs @@ -114,6 +114,11 @@ #region Public Methods + public Periodo Clone() + { + return new Periodo(this.Inizio, this.Fine); + } + public override bool Equals(object? obj) { if (obj == null)