--------------------------------------------------------------------------------
-- <auto-generated>                                                           --
--     This code was generated by a tool.                                     --
--                                                                            --
--     Changes to this file may cause incorrect behavior and will be lost if  --
--     the code is regenerated.                                               --
-- </auto-generated>                                                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                                                                            --
--    Copyright(c) 2019 Alexander Gamper, All Rights Reserved.                --
--                                                                            --
--    Ada-NetFramework                                                        --
--    Version   : 1.0.0.0                                                     --
--                                                                            --
-- This program is free software: you can redistribute it and / or modify     --
-- it under the terms of the GNU Lesser General Public License as published by--
-- the Free Software Foundation, either version 3 of the License, or          --
-- (at your option) any later version.                                        --
--                                                                            --
-- This program is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               --
-- GNU Lesser General Public License for more details.                        --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public License   --
-- along with this program.If not, see http://www.gnu.org/licenses            --
--                                                                            --
--------------------------------------------------------------------------------
with NetFrameworkBase.System.Object;
limited with NetFrameworkBase.System.Globalization.CalendarWeekRule;
limited with NetFrameworkBase.System.DayOfWeek;
limited with NetFrameworkBase.System.Globalization.CalendarAlgorithmType;
--------------------------------------------------------------------------------
package NetFrameworkBase.System.Globalization.Calendar is
   
   type Kind is new NetFrameworkBase.System.Object.Kind with null record;
   type Kind_Ptr is access all Kind;
   type Kind_Array is array(Natural range<>) of Kind_Ptr;
   type Kind_Array_Ptr is access all Kind_Array;
   
      function MinSupportedDateTime
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.Date;
      
      function MaxSupportedDateTime
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.Date;
      
      function AlgorithmType
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.System.Globalization.CalendarAlgorithmType.Kind;
      
      function IsReadOnly
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.Boolean;
      
      function Clone
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.System.Object.Kind_Ptr;
      
      function ReadOnly
      (
         calendar : NetFrameworkBase.System.Globalization.Calendar.Kind_Ptr
      )
      return NetFrameworkBase.System.Globalization.Calendar.Kind_Ptr;
      
      function AddMilliseconds
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         milliseconds : NetFrameworkBase.Double
      )
      return NetFrameworkBase.Date;
      
      function AddDays
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         days : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function AddHours
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         hours : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function AddMinutes
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         minutes : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function AddSeconds
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         seconds : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function AddWeeks
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         weeks : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function GetDaysInMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetDaysInYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetHour
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetMilliseconds
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Double;
      
      function GetMinute
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetMonthsInYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetSecond
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetWeekOfYear
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         rule : NetFrameworkBase.System.Globalization.CalendarWeekRule.Kind; 
         firstDayOfWeek : NetFrameworkBase.System.DayOfWeek.Kind
      )
      return NetFrameworkBase.Int32;
      
      function IsLeapDay
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         day : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function IsLeapMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function GetLeapMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetLeapMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function IsLeapYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function ToDateTime
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         day : NetFrameworkBase.Int32; 
         hour : NetFrameworkBase.Int32; 
         minute : NetFrameworkBase.Int32; 
         second : NetFrameworkBase.Int32; 
         millisecond : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function TwoDigitYearMax
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.Int32;
      
      procedure TwoDigitYearMax
      (
         this : in out Calendar.Kind;
         value : NetFrameworkBase.Int32
      );
      
      function ToFourDigitYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function AddMonths
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         months : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function AddYears
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date; 
         years : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
      function GetDayOfMonth
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetDayOfWeek
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.System.DayOfWeek.Kind;
      
      function GetDayOfYear
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetDaysInMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetDaysInYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetEra
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function Eras
      (
         this : in out Calendar.Kind
      )
      return NetFrameworkBase.Int32_Array;
      
      function GetMonth
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function GetMonthsInYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Int32;
      
      function GetYear
      (
         this : in out Calendar.Kind;
         time : NetFrameworkBase.Date
      )
      return NetFrameworkBase.Int32;
      
      function IsLeapDay
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         day : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function IsLeapMonth
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function IsLeapYear
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Boolean;
      
      function ToDateTime
      (
         this : in out Calendar.Kind;
         year : NetFrameworkBase.Int32; 
         month : NetFrameworkBase.Int32; 
         day : NetFrameworkBase.Int32; 
         hour : NetFrameworkBase.Int32; 
         minute : NetFrameworkBase.Int32; 
         second : NetFrameworkBase.Int32; 
         millisecond : NetFrameworkBase.Int32; 
         era : NetFrameworkBase.Int32
      )
      return NetFrameworkBase.Date;
      
end;
