AIX+Oracle11g+ASM Add Disk expansion LHDZ

2023-01-23   ES  

Public class MonthDaysutil { 
     // Get the number of days in the month 
     Public Static int GetMonthDays (int Year, int Month) { 

         if (month == 2) { 

             ifar % 4 == 0 && Year % 100! = 0) || (year % 400 == 0) {{ 

                 Return 29; 

             } else { 

                 Return 28; 

             } 

         } else if (month == 4 || Month == 6 || Month == 9 || Month == 11) { 

             Return 30; 

         } else { 

             Return 31; 

         } 
     } 
 }

source

Related Posts

Visual Studio Code v.s atom-ID: Which is web development?

Android drawer effect implementation

Support vector machine (3) core function

CSS simple layout

AIX+Oracle11g+ASM Add Disk expansion LHDZ

Random Posts

React-Native screenshot component view-shot introduction and use

Unity -> Xcode Get Unity’s ViewController

Develop mobile application market -Dayone supplement

[Unity & C# & Interface] The component of the interface of different types of objects was called through the interface

Transform, Translate, Translaton, Animation Animation