public class CultureInfo extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Globalization.CultureInfo
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Globalization.CultureInfo
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CultureInfo() |
CultureInfo(int culture)
Initializes a new instance by invoking the .NET constructor.
|
CultureInfo(int culture,
boolean useUserOverride)
Initializes a new instance by invoking the .NET constructor.
|
CultureInfo(java.lang.Object instance)
Internal constructor.
|
CultureInfo(java.lang.String name)
Initializes a new instance by invoking the .NET constructor.
|
CultureInfo(java.lang.String name,
boolean useUserOverride)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CultureInfo |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CultureInfo, a cast assert is made to check if types are compatible. |
void |
ClearCachedData()
Invokes the .NET member ClearCachedData.
|
NetObject |
Clone()
Invokes the .NET member Clone.
|
static CultureInfo |
CreateSpecificCulture(java.lang.String name)
Invokes the .NET member CreateSpecificCulture.
|
Calendar |
getCalendar()
Gets the value of the .NET property Calendar.
|
CompareInfo |
getCompareInfo()
Gets the value of the .NET property CompareInfo.
|
CultureInfo |
GetConsoleFallbackUICulture()
Invokes the .NET member GetConsoleFallbackUICulture.
|
static CultureInfo |
GetCultureInfo(int culture)
Invokes the .NET member GetCultureInfo.
|
static CultureInfo |
GetCultureInfo(java.lang.String name)
Invokes the .NET member GetCultureInfo.
|
static CultureInfo |
GetCultureInfo(java.lang.String name,
boolean predefinedOnly)
Invokes the .NET member GetCultureInfo.
|
static CultureInfo |
GetCultureInfo(java.lang.String name,
java.lang.String altName)
Invokes the .NET member GetCultureInfo.
|
static CultureInfo |
GetCultureInfoByIetfLanguageTag(java.lang.String name)
Invokes the .NET member GetCultureInfoByIetfLanguageTag.
|
static CultureInfo[] |
GetCultures(CultureTypes types)
Invokes the .NET member GetCultures.
|
CultureTypes |
getCultureTypes()
Gets the value of the .NET property CultureTypes.
|
static CultureInfo |
getCurrentCulture()
Gets the value of the .NET property CurrentCulture.
|
static CultureInfo |
getCurrentUICulture()
Gets the value of the .NET property CurrentUICulture.
|
DateTimeFormatInfo |
getDateTimeFormat()
Gets the value of the .NET property DateTimeFormat.
|
static CultureInfo |
getDefaultThreadCurrentCulture()
Gets the value of the .NET property DefaultThreadCurrentCulture.
|
static CultureInfo |
getDefaultThreadCurrentUICulture()
Gets the value of the .NET property DefaultThreadCurrentUICulture.
|
java.lang.String |
getDisplayName()
Gets the value of the .NET property DisplayName.
|
java.lang.String |
getEnglishName()
Gets the value of the .NET property EnglishName.
|
NetObject |
GetFormat(NetType formatType)
Invokes the .NET member GetFormat.
|
java.lang.String |
getIetfLanguageTag()
Gets the value of the .NET property IetfLanguageTag.
|
static CultureInfo |
getInstalledUICulture()
Gets the value of the .NET property InstalledUICulture.
|
static CultureInfo |
getInvariantCulture()
Gets the value of the .NET property InvariantCulture.
|
boolean |
getIsNeutralCulture()
Gets the value of the .NET property IsNeutralCulture.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getKeyboardLayoutId()
Gets the value of the .NET property KeyboardLayoutId.
|
int |
getLCID()
Gets the value of the .NET property LCID.
|
java.lang.String |
getName()
Gets the value of the .NET property Name.
|
java.lang.String |
getNativeName()
Gets the value of the .NET property NativeName.
|
NumberFormatInfo |
getNumberFormat()
Gets the value of the .NET property NumberFormat.
|
Calendar[] |
getOptionalCalendars()
Gets the value of the .NET property OptionalCalendars.
|
CultureInfo |
getParent()
Gets the value of the .NET property Parent.
|
TextInfo |
getTextInfo()
Gets the value of the .NET property TextInfo.
|
java.lang.String |
getThreeLetterISOLanguageName()
Gets the value of the .NET property ThreeLetterISOLanguageName.
|
java.lang.String |
getThreeLetterWindowsLanguageName()
Gets the value of the .NET property ThreeLetterWindowsLanguageName.
|
java.lang.String |
getTwoLetterISOLanguageName()
Gets the value of the .NET property TwoLetterISOLanguageName.
|
boolean |
getUseUserOverride()
Gets the value of the .NET property UseUserOverride.
|
static CultureInfo |
ReadOnly(CultureInfo ci)
Invokes the .NET member ReadOnly.
|
static void |
setCurrentCulture(CultureInfo CurrentCulture)
Sets the value of the .NET property CurrentCulture.
|
static void |
setCurrentUICulture(CultureInfo CurrentUICulture)
Sets the value of the .NET property CurrentUICulture.
|
void |
setDateTimeFormat(DateTimeFormatInfo DateTimeFormat)
Sets the value of the .NET property DateTimeFormat.
|
static void |
setDefaultThreadCurrentCulture(CultureInfo DefaultThreadCurrentCulture)
Sets the value of the .NET property DefaultThreadCurrentCulture.
|
static void |
setDefaultThreadCurrentUICulture(CultureInfo DefaultThreadCurrentUICulture)
Sets the value of the .NET property DefaultThreadCurrentUICulture.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setNumberFormat(NumberFormatInfo NumberFormat)
Sets the value of the .NET property NumberFormat.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CultureInfo()
throws java.lang.Throwable
java.lang.Throwablepublic CultureInfo(int culture)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
FormatException,
CultureNotFoundException,
OutOfMemoryException,
ArgumentNullException
culture - the argument of type intjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic CultureInfo(int culture,
boolean useUserOverride)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
CultureNotFoundException,
OutOfMemoryException
culture - the argument of type intuseUserOverride - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic CultureInfo(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic CultureInfo(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
IndexOutOfRangeException,
CultureNotFoundException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic CultureInfo(java.lang.String name,
boolean useUserOverride)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
IndexOutOfRangeException,
CultureNotFoundException
name - the argument of type java.lang.StringuseUserOverride - the argument of type booleanjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static CultureInfo cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CultureInfo, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCultureInfo instancejava.lang.Throwable - in case of error during cast operationpublic void ClearCachedData()
throws java.lang.Throwable,
ArgumentNullException,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentException,
IndexOutOfRangeException,
CultureNotFoundException,
ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic NetObject Clone() throws java.lang.Throwable, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, IndexOutOfRangeException, ArrayTypeMismatchException, ArgumentException, RankException, CultureNotFoundException, TypeInitializationException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itRankException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static CultureInfo CreateSpecificCulture(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, CultureNotFoundException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic Calendar getCalendar() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException, OutOfMemoryException, CultureNotFoundException, TypeInitializationException, SecurityException, UnauthorizedAccessException, IOException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itpublic CompareInfo getCompareInfo() throws java.lang.Throwable, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, ExternalException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic CultureInfo GetConsoleFallbackUICulture() throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, OutOfMemoryException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static CultureInfo GetCultureInfo(int culture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException
culture - the argument of type intjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static CultureInfo GetCultureInfo(java.lang.String name) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static CultureInfo GetCultureInfo(java.lang.String name, boolean predefinedOnly) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, IndexOutOfRangeException, OutOfMemoryException
name - the argument of type java.lang.StringpredefinedOnly - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static CultureInfo GetCultureInfo(java.lang.String name, java.lang.String altName) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, IndexOutOfRangeException, CultureNotFoundException, FormatException
name - the argument of type java.lang.StringaltName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itFormatException - if the .NET member raises itpublic static CultureInfo GetCultureInfoByIetfLanguageTag(java.lang.String name) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException, ArgumentNullException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, FormatException, CultureNotFoundException, OutOfMemoryException, RankException, ArrayTypeMismatchException
name - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static CultureInfo[] GetCultures(CultureTypes types) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, IndexOutOfRangeException
types - the argument of type CultureTypesjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic CultureTypes getCultureTypes() throws java.lang.Throwable, InvalidOperationException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, RankException, ArrayTypeMismatchException, CultureNotFoundException, OutOfMemoryException, ExternalException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itExternalException - if the .NET member raises itpublic static CultureInfo getCurrentCulture() throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static CultureInfo getCurrentUICulture() throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException, ArrayTypeMismatchException, OutOfMemoryException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic DateTimeFormatInfo getDateTimeFormat() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException, ArrayTypeMismatchException, CultureNotFoundException, TypeInitializationException, SecurityException, UnauthorizedAccessException, IOException, OutOfMemoryException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic static CultureInfo getDefaultThreadCurrentCulture() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CultureInfo getDefaultThreadCurrentUICulture() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getDisplayName()
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
ArgumentException,
CultureNotFoundException,
IndexOutOfRangeException,
ExternalException,
ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itExternalException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic java.lang.String getEnglishName()
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
ArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itpublic NetObject GetFormat(NetType formatType) throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, ArgumentNullException, ArgumentException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArrayTypeMismatchException, RankException, TypeInitializationException, NotSupportedException
formatType - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itTypeInitializationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getIetfLanguageTag()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static CultureInfo getInstalledUICulture() throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, CultureNotFoundException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static CultureInfo getInvariantCulture() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsNeutralCulture()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int getKeyboardLayoutId()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic int getLCID()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getNativeName()
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic NumberFormatInfo getNumberFormat() throws java.lang.Throwable, OutOfMemoryException, PlatformNotSupportedException, InvalidOperationException, ArgumentNullException, ArgumentException, ExternalException, CultureNotFoundException, ArgumentOutOfRangeException, IndexOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itExternalException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic final Calendar[] getOptionalCalendars() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, OutOfMemoryException, CultureNotFoundException, TypeInitializationException, SecurityException, UnauthorizedAccessException, IOException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itSecurityException - if the .NET member raises itUnauthorizedAccessException - if the .NET member raises itIOException - if the .NET member raises itpublic CultureInfo getParent() throws java.lang.Throwable, NotSupportedException, ArgumentException, OutOfMemoryException, PlatformNotSupportedException, InvalidOperationException, IndexOutOfRangeException, ArgumentOutOfRangeException, ArgumentNullException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic TextInfo getTextInfo() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getThreeLetterISOLanguageName()
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic java.lang.String getThreeLetterWindowsLanguageName()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic java.lang.String getTwoLetterISOLanguageName()
throws java.lang.Throwable,
OutOfMemoryException,
PlatformNotSupportedException,
InvalidOperationException
java.lang.Throwable - if the call fails in the bridge or in the CLROutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean getUseUserOverride()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CultureInfo ReadOnly(CultureInfo ci) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, TypeInitializationException
ci - the argument of type CultureInfojava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itTypeInitializationException - if the .NET member raises itpublic static void setCurrentCulture(CultureInfo CurrentCulture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
CurrentCulture - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static void setCurrentUICulture(CultureInfo CurrentUICulture) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
CurrentUICulture - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setDateTimeFormat(DateTimeFormatInfo DateTimeFormat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
DateTimeFormat - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static void setDefaultThreadCurrentCulture(CultureInfo DefaultThreadCurrentCulture) throws java.lang.Throwable
DefaultThreadCurrentCulture - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static void setDefaultThreadCurrentUICulture(CultureInfo DefaultThreadCurrentUICulture) throws java.lang.Throwable, NotSupportedException, ArgumentException, IndexOutOfRangeException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
DefaultThreadCurrentUICulture - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setNumberFormat(NumberFormatInfo NumberFormat) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
NumberFormat - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises it