类org.joda.time.chrono.BaseChronology源码实例Demo

下面列出了怎么用org.joda.time.chrono.BaseChronology的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: coming   文件: Cardumen_00189_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码2 项目: coming   文件: Cardumen_00189_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码3 项目: coming   文件: Cardumen_00239_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码4 项目: coming   文件: Cardumen_00239_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码5 项目: coming   文件: Cardumen_0074_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码6 项目: coming   文件: Cardumen_0074_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码7 项目: coming   文件: Cardumen_00282_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码8 项目: coming   文件: Cardumen_00282_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码9 项目: coming   文件: Cardumen_0070_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码10 项目: coming   文件: Cardumen_0070_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码11 项目: coming   文件: Cardumen_00137_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码12 项目: coming   文件: Cardumen_00137_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码13 项目: coming   文件: Nopol2017_0089_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码14 项目: coming   文件: Nopol2017_0089_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码15 项目: coming   文件: Time_25_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码16 项目: coming   文件: Time_25_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码17 项目: coming   文件: Time_17_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码18 项目: coming   文件: Time_17_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码19 项目: coming   文件: Time_23_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码20 项目: coming   文件: Time_23_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码21 项目: coming   文件: Time_19_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码22 项目: coming   文件: Time_19_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码23 项目: coming   文件: Time_9_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码24 项目: coming   文件: Time_9_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码25 项目: coming   文件: Time_8_DateTimeZone_s.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码26 项目: coming   文件: Time_8_DateTimeZone_t.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码27 项目: astor   文件: DateTimeZone.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        private static final long serialVersionUID = -3128740902654445468L;
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
源代码28 项目: astor   文件: DateTimeZone.java
private static int parseOffset(String str) {
    // Can't use a real chronology if called during class
    // initialization. Offset parser doesn't need it anyhow.
    Chronology chrono = new BaseChronology() {
        public DateTimeZone getZone() {
            return null;
        }
        public Chronology withUTC() {
            return this;
        }
        public Chronology withZone(DateTimeZone zone) {
            return this;
        }
        public String toString() {
            return getClass().getName();
        }
    };
    return -(int) offsetFormatter().withChronology(chrono).parseMillis(str);
}
 
 类所在包
 类方法
 同包方法