We need you! We're working hard on the next version of Developer Fusion -
Let us know what you think we should be up to!
-
Expand
Microsoft.Win32
-
Expand
Microsoft.Win32.SafeHandles
-
Expand
System
-
Expand
System.Runtime.Hosting
-
Expand
System.Runtime.InteropServices
-
Expand
System.Runtime.CompilerServices
-
Expand
System.Collections
-
Expand
System.Collections.Generic
-
Expand
System.Collections.ObjectModel
-
Expand
System.Configuration.Assemblies
-
Expand
System.Diagnostics
-
Expand
System.Diagnostics.CodeAnalysis
-
Expand
System.Diagnostics.SymbolStore
-
Expand
System.Globalization
-
Expand
__DateBuffer
-
Expand
BaseInfoTable
-
Expand
BidiCategory
-
Expand
Calendar
-
Expand
CalendarAlgorithmType
-
Expand
CalendarId
-
Expand
CalendarTable
-
Expand
CalendarTableData
-
Expand
CalendarWeekRule
-
Expand
CharUnicodeInfo
-
Expand
ChineseLunisolarCalendar
-
Expand
CodePageDataItem
-
Expand
CompareInfo
-
Expand
CompareOptions
-
Expand
CultureData
-
Expand
CultureFlags
-
Expand
CultureInfo
-
Expand
CultureNameOffsetItem
-
Expand
CultureTable
-
Expand
CultureTableData
-
Expand
CultureTableHeader
-
Expand
CultureTableItem
-
Expand
CultureTableRecord
-
Expand
CultureTypes
-
Expand
DateMapping
-
Expand
DateTimeFormatFlags
-
Expand
DateTimeFormatInfo
-
Expand
DateTimeFormatInfoScanner
-
Expand
DateTimeStyles
-
Expand
DaylightTime
-
Expand
DigitShapes
-
Expand
DigitValues
-
Expand
DTFIUserOverrideValues
-
Expand
EastAsianLunisolarCalendar
-
Expand
EncodingTable
-
Expand
EndianessHeader
-
Expand
EraInfo
-
Expand
ExceptionTableItem
-
Expand
FORMATFLAGS
-
Expand
FoundDatePattern
-
Expand
GlobalizationAssembly
-
Expand
GregorianCalendar
-
Expand
GregorianCalendarHelper
-
Expand
GregorianCalendarTypes
-
Expand
HebrewCalendar
-
Expand
HebrewNumber
-
Expand
HebrewNumberParsingContext
-
Expand
HebrewNumberParsingState
-
Expand
HebrewToken
-
Expand
HebrewValue
-
Expand
HijriCalendar
-
Expand
HS
-
Expand
IdnMapping
-
Expand
IDOffsetItem
-
Expand
IetfNameOffsetItem
-
Expand
InternalCodePageDataItem
-
Expand
InternalEncodingDataItem
-
Expand
JapaneseCalendar
-
AddMonths(DateTime, int)
-
AddYears(DateTime, int)
-
AlgorithmType()
-
Eras()
-
GetDayOfMonth(DateTime)
-
GetDayOfWeek(DateTime)
-
GetDayOfYear(DateTime)
-
GetDaysInMonth(int, int, int)
-
GetDaysInYear(int, int)
-
GetDefaultInstance()
-
GetEra(DateTime)
-
GetLeapMonth(int, int)
-
GetMonth(DateTime)
-
GetMonthsInYear(int, int)
-
GetWeekOfYear(DateTime, CalendarWeekRule, DayOfWeek)
-
GetYear(DateTime)
-
ID()
-
IsLeapDay(int, int, int, int)
-
IsLeapMonth(int, int, int)
-
IsLeapYear(int, int)
-
IsValidYear(int, int)
-
JapaneseCalendar()
-
MaxSupportedDateTime()
-
MinSupportedDateTime()
-
ToDateTime(int, int, int, int, int, int, int, int)
-
ToFourDigitYear(int)
-
TwoDigitYearMax()
-
Expand
JapaneseLunisolarCalendar
-
Expand
JulianCalendar
-
Expand
KoreanCalendar
-
Expand
KoreanLunisolarCalendar
-
Expand
MemoryMapFile
-
Expand
MonthNameStyles
-
Expand
NumberFormatInfo
-
Expand
NumberStyles
-
Expand
PersianCalendar
-
Expand
RegionInfo
-
Expand
RegionNameOffsetItem
-
Expand
SortKey
-
Expand
StringInfo
-
Expand
TaiwanCalendar
-
Expand
TaiwanLunisolarCalendar
-
Expand
TextElementEnumerator
-
Expand
TextInfo
-
Expand
TextInfoDataHeader
-
Expand
ThaiBuddhistCalendar
-
Expand
TokenHashValue
-
Expand
UmAlQuraCalendar
-
Expand
UnicodeCategory
-
Expand
UnicodeDataHeader
-
Expand
System.IO
-
Expand
System.IO.IsolatedStorage
-
Expand
System.Reflection
-
Expand
System.Reflection.Cache
-
Expand
System.Reflection.Emit
-
Expand
System.Resources
-
Expand
System.Runtime
-
Expand
System.Runtime.InteropServices.Expando
-
Expand
System.Runtime.ConstrainedExecution
-
Expand
System.Runtime.Remoting.Activation
-
Expand
System.Runtime.Remoting.Messaging
-
Expand
System.Runtime.Remoting.Channels
-
Expand
System.Runtime.Remoting.Lifetime
-
Expand
System.Runtime.Remoting
-
Expand
System.Runtime.Remoting.Contexts
-
Expand
System.Runtime.Remoting.Proxies
-
Expand
System.Runtime.Remoting.Metadata
-
Expand
System.Runtime.Remoting.Metadata.W3cXsd2001
-
Expand
System.Runtime.Remoting.Services
-
Expand
System.Runtime.Serialization
-
Expand
System.Runtime.Serialization.Formatters
-
Expand
System.Runtime.Serialization.Formatters.Binary
-
Expand
System.Runtime.Versioning
-
Expand
System.Security
-
Expand
System.Security.Cryptography
-
Expand
System.Security.Cryptography.X509Certificates
-
Expand
System.Security.Permissions
-
Expand
System.Security.Policy
-
Expand
System.Security.Principal
-
Expand
System.Security.Util
-
Expand
System.Text
-
Expand
System.Threading
-
Expand
System.Runtime.Remoting.Channels.Http
-
Expand
System.Runtime.Remoting.Channels.Tcp
-
Expand
System.Runtime.Remoting.MetadataServices
-
Expand
System.Runtime.Serialization.Formatters.Soap.Xml
-
Expand
System.Runtime.Serialization.Formatters.Soap
-
Expand
Microsoft.Tools.Caspol
-
Expand
Microsoft.Tools.Build
-
Expand
Microsoft.CSharp
-
Expand
System.CodeDom
-
Expand
System.CodeDom.Compiler
-
Expand
System.Collections.Specialized
-
Expand
System.ComponentModel
-
Expand
System.ComponentModel.Design
-
Expand
System.ComponentModel.Design.Serialization
-
Expand
System.Configuration
-
Expand
System.Web
-
Expand
System.Configuration.Provider
-
Expand
System.Configuration.Internal
-
Expand
System.Internal
-
Expand
System.Windows.Forms
-
Expand
System.Net
-
Expand
System.Net.Sockets
-
Expand
System.Net.NetworkInformation
-
Expand
System.Net.ComImports
-
Expand
System.Net.Security
-
Expand
System.Net.Cache
-
Expand
System.Net.Configuration
-
Expand
System.Text.RegularExpressions
-
Expand
System.Tools
-
Expand
System.IO.Compression
-
Expand
System.IO.Ports
-
Expand
System.Security.AccessControl
-
Expand
System.Xml
-
Expand
System.Xml.XPath.DataBinding
-
Expand
System.Xml.Schema
-
Expand
System.Xml.Serialization
-
Expand
System.Xml.Serialization.Advanced
-
Expand
System.Xml.Serialization.Configuration
-
Expand
System.Xml.XPath
-
Expand
System.Xml.Xsl
-
Expand
System.Xml.Xsl.IlGen
-
Expand
System.Xml.Xsl.Qil
-
Expand
System.Xml.Xsl.Runtime
-
Expand
System.Xml.Xsl.XPath
-
Expand
System.Xml.Xsl.Xslt
-
Expand
System.Xml.Xsl.XsltOld
-
Expand
System.Xml.Xsl.XsltOld.Debugger
-
Expand
Microsoft.JScript
-
Expand
Microsoft.Vsa
-
Expand
Microsoft.JScript.Vsa
- namespace System.Globalization
- {
-
- using System;
-
-
-
-
- [Serializable()]
- [System.Runtime.InteropServices.ComVisible(true)]
- public class JapaneseCalendar : Calendar
- {
- static internal readonly DateTime calendarMinValue = new DateTime(1868, 9, 8);
-
-
- [System.Runtime.InteropServices.ComVisible(false)]
- public override DateTime MinSupportedDateTime {
- get { return (calendarMinValue); }
- }
-
- [System.Runtime.InteropServices.ComVisible(false)]
- public override DateTime MaxSupportedDateTime {
- get { return (DateTime.MaxValue); }
- }
-
-
-
-
- [System.Runtime.InteropServices.ComVisible(false)]
- public override CalendarAlgorithmType AlgorithmType {
- get { return CalendarAlgorithmType.SolarCalendar; }
- }
-
-
-
-
- static internal EraInfo[] m_EraInfo = GregorianCalendarHelper.InitEraInfo(Calendar.CAL_JAPAN);
-
-
- static internal Calendar m_defaultInstance;
- internal GregorianCalendarHelper helper;
-
-
-
- static internal Calendar GetDefaultInstance()
- {
- if (m_defaultInstance == null) {
- m_defaultInstance = new JapaneseCalendar();
- }
- return (m_defaultInstance);
- }
-
-
- public JapaneseCalendar()
- {
- helper = new GregorianCalendarHelper(this, m_EraInfo);
- }
-
- internal override int ID {
- get { return (CAL_JAPAN); }
- }
-
-
- public override DateTime AddMonths(DateTime time, int months)
- {
- return (helper.AddMonths(time, months));
- }
-
-
- public override DateTime AddYears(DateTime time, int years)
- {
- return (helper.AddYears(time, years));
- }
-
-
-
-
- public override int GetDaysInMonth(int year, int month, int era)
- {
- return (helper.GetDaysInMonth(year, month, era));
- }
-
-
- public override int GetDaysInYear(int year, int era)
- {
- return (helper.GetDaysInYear(year, era));
- }
-
-
- public override int GetDayOfMonth(DateTime time)
- {
- return (helper.GetDayOfMonth(time));
- }
-
-
- public override DayOfWeek GetDayOfWeek(DateTime time)
- {
- return (helper.GetDayOfWeek(time));
- }
-
-
- public override int GetDayOfYear(DateTime time)
- {
- return (helper.GetDayOfYear(time));
- }
-
-
- public override int GetMonthsInYear(int year, int era)
- {
- return (helper.GetMonthsInYear(year, era));
- }
-
-
- [System.Runtime.InteropServices.ComVisible(false)]
- public override int GetWeekOfYear(DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek)
- {
- return (helper.GetWeekOfYear(time, rule, firstDayOfWeek));
- }
-
-
-
-
- public override int GetEra(DateTime time)
- {
- return (helper.GetEra(time));
- }
-
-
- public override int GetMonth(DateTime time)
- {
- return (helper.GetMonth(time));
- }
-
-
- public override int GetYear(DateTime time)
- {
- return (helper.GetYear(time));
- }
-
-
- public override bool IsLeapDay(int year, int month, int day, int era)
- {
- return (helper.IsLeapDay(year, month, day, era));
- }
-
-
- public override bool IsLeapYear(int year, int era)
- {
- return (helper.IsLeapYear(year, era));
- }
-
-
-
-
-
- [System.Runtime.InteropServices.ComVisible(false)]
- public override int GetLeapMonth(int year, int era)
- {
- return (helper.GetLeapMonth(year, era));
- }
-
-
- public override bool IsLeapMonth(int year, int month, int era)
- {
- return (helper.IsLeapMonth(year, month, era));
- }
-
-
- public override DateTime ToDateTime(int year, int month, int day, int hour, int minute, int second, int millisecond, int era)
- {
- return (helper.ToDateTime(year, month, day, hour, minute, second, millisecond, era));
- }
-
-
-
-
- public override int ToFourDigitYear(int year)
- {
- if (year <= 0) {
- throw new ArgumentOutOfRangeException("year", Environment.GetResourceString("ArgumentOutOfRange_NeedPosNum"));
- }
-
- if (year > helper.MaxYear) {
- throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 1, helper.MaxYear));
- }
- return (year);
- }
-
-
- public override int[] Eras {
- get { return (helper.Eras); }
- }
-
- private const int DEFAULT_TWO_DIGIT_YEAR_MAX = 99;
-
- internal override bool IsValidYear(int year, int era)
- {
- return helper.IsValidYear(year, era);
- }
-
- public override int TwoDigitYearMax {
- get {
- if (twoDigitYearMax == -1) {
- twoDigitYearMax = GetSystemTwoDigitYearSetting(ID, DEFAULT_TWO_DIGIT_YEAR_MAX);
- }
- return (twoDigitYearMax);
- }
-
- set {
- VerifyWritable();
- if (value < 99 || value > helper.MaxYear) {
- throw new ArgumentOutOfRangeException("year", String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("ArgumentOutOfRange_Range"), 99, helper.MaxYear));
- }
- twoDigitYearMax = value;
- }
- }
- }
- }