org.joda.time.tz.Provider源码实例Demo

类org.joda.time.tz.Provider源码实例Demo

下面列出了org.joda.time.tz.Provider 类实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

源代码1 项目: coming   文件: Cardumen_00189_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码2 项目: coming   文件: Cardumen_00189_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码3 项目: coming   文件: Cardumen_00239_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码4 项目: coming   文件: Cardumen_00239_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码5 项目: astor   文件: DateTimeZone.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码6 项目: coming   文件: Cardumen_0074_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码7 项目: coming   文件: Cardumen_00282_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码8 项目: coming   文件: Cardumen_00282_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码9 项目: coming   文件: Cardumen_0070_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码10 项目: coming   文件: Cardumen_0070_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码11 项目: coming   文件: Cardumen_00137_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码12 项目: astor   文件: DateTimeZone.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码13 项目: coming   文件: Cardumen_00137_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码14 项目: coming   文件: Nopol2017_0089_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码15 项目: coming   文件: Nopol2017_0089_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码16 项目: coming   文件: Time_25_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码17 项目: coming   文件: Time_25_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码18 项目: coming   文件: Time_17_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码19 项目: coming   文件: Time_17_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码20 项目: coming   文件: Time_23_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码21 项目: coming   文件: Time_23_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码22 项目: coming   文件: Time_19_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码23 项目: coming   文件: Time_19_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码24 项目: coming   文件: Time_9_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码25 项目: coming   文件: Time_9_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码26 项目: coming   文件: Time_8_DateTimeZone_s.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码27 项目: coming   文件: Time_8_DateTimeZone_t.java
/**
 * Sets the zone provider factory without performing the security check.
 * 
 * @param provider  provider to use, or null for default
 * @throws IllegalArgumentException if the provider is invalid
 */
private static void setProvider0(Provider provider) {
    if (provider == null) {
        provider = getDefaultProvider();
    }
    Set<String> ids = provider.getAvailableIDs();
    if (ids == null || ids.size() == 0) {
        throw new IllegalArgumentException
            ("The provider doesn't have any available ids");
    }
    if (!ids.contains("UTC")) {
        throw new IllegalArgumentException("The provider doesn't support UTC");
    }
    if (!UTC.equals(provider.getZone("UTC"))) {
        throw new IllegalArgumentException("Invalid UTC zone provided");
    }
    cProvider = provider;
    cAvailableIDs = ids;
}
 
源代码28 项目: coming   文件: Cardumen_00189_s.java
/**
 * Sets the zone provider factory.
 * <p>
 * The zone provider is a pluggable instance factory that supplies the
 * actual instances of DateTimeZone.
 * 
 * @param provider  provider to use, or null for default
 * @throws SecurityException if you do not have the permission DateTimeZone.setProvider
 * @throws IllegalArgumentException if the provider is invalid
 */
public static void setProvider(Provider provider) throws SecurityException {
    SecurityManager sm = System.getSecurityManager();
    if (sm != null) {
        sm.checkPermission(new JodaTimePermission("DateTimeZone.setProvider"));
    }
    setProvider0(provider);
}
 
源代码29 项目: coming   文件: Cardumen_00189_t.java
/**
 * Sets the zone provider factory.
 * <p>
 * The zone provider is a pluggable instance factory that supplies the
 * actual instances of DateTimeZone.
 * 
 * @param provider  provider to use, or null for default
 * @throws SecurityException if you do not have the permission DateTimeZone.setProvider
 * @throws IllegalArgumentException if the provider is invalid
 */
public static void setProvider(Provider provider) throws SecurityException {
    SecurityManager sm = System.getSecurityManager();
    if (sm != null) {
        sm.checkPermission(new JodaTimePermission("DateTimeZone.setProvider"));
    }
    setProvider0(provider);
}
 
源代码30 项目: coming   文件: Cardumen_00239_t.java
/**
 * Sets the zone provider factory.
 * <p>
 * The zone provider is a pluggable instance factory that supplies the
 * actual instances of DateTimeZone.
 * 
 * @param provider  provider to use, or null for default
 * @throws SecurityException if you do not have the permission DateTimeZone.setProvider
 * @throws IllegalArgumentException if the provider is invalid
 */
public static void setProvider(Provider provider) throws SecurityException {
    SecurityManager sm = System.getSecurityManager();
    if (sm != null) {
        sm.checkPermission(new JodaTimePermission("DateTimeZone.setProvider"));
    }
    setProvider0(provider);
}
 
源代码评论
动弹
沙发等你来抢
 类所在包
 类方法
 同包方法