System.Globalization.CalendarWeekRule.cs

ylbtech-System.Globalization.CalendarWeekRule.cs

 

1. Back to top
1、
#regionassembler mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089
 // C: \ Program Files (x86) \ Reference Assemblies \ Microsoft \ Framework \ .NETFramework \ v4.6.1 \ mscorlib.dll 
#endregion 

using System.Runtime.InteropServices; 

namespace System.Globalization 
{ 
    // 
    // Summary:
     //      Define different rules for confirming the first week of the year. 
    [ComVisible ( true )]
     public  enum CalendarWeekRule 
    { 
        // 
        // Summary:
         //      Indicates that the first week of the year starts on the first day of the year, and before the end, the following specifies the first day of the week. The value is 0. 
        FirstDay = 0 ,
        // 
        // Summary:
         //      The first week of the indicated year begins on the first match specified, or on the first day of the week after the first day of the year. The value is 1. 
        FirstFullWeek = 1 ,
         // 
        // Summary:
         //      Indicates that the first week of the year is the first week with four or more days before the first date specified is the day of the week. The value is 2. 
        FirstFourDayWeek = 2 
    } 
}
2、
2. Back to top
 
3. Back to top
 
4. Back to top
 
5. Back to top
 
 
6. Back to top
 
warn Author: ylbtech
Source: http://ylbtech.cnblogs.com/
This article belongs to the author and blog Park total, welcome to reprint, but without the author's consent declared by this section must be retained, and given the original connection in the apparent position of the article page, otherwise Reserves the right to pursue legal responsibility.

Guess you like

Origin www.cnblogs.com/storebook/p/12677111.html