Package org.elasticsearch.common.joda.time

Examples of org.elasticsearch.common.joda.time.Chronology


        final int cacheSize = 1000;
        final int reps = 2000;
        final long[] input = new long[reps];
        final long[] expected = new long[reps];
        final long[] actual = new long[reps];
        final Chronology chronology = ISOChronology.getInstanceUTC();
        final TimeZoneRounding tzRounding = new TimeZoneRounding.Builder(chronology.secondOfMinute())
                .preZone(DateTimeZone.forID("Australia/Sydney"))
                .build();
        final TimeZoneRoundingCache cache = new TimeZoneRoundingCache(tzRounding, cacheSize);

        for(int i = 0; i < reps; i++) {
View Full Code Here


        DateTimeZone postZone = DateTimeZone.UTC;
        boolean preZoneAdjustLargeInterval = false;
        long preOffset = 0;
        long postOffset = 0;
        float factor = 1.0f;
        final Chronology chronology = ISOChronology.getInstanceUTC();
        XContentParser.Token token;
        String fieldName = null;
        int exactThreshold = 1000;

        while((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
View Full Code Here

        DateTimeZone postZone = DateTimeZone.UTC;
        boolean preZoneAdjustLargeInterval = false;
        long preOffset = 0;
        long postOffset = 0;
        float factor = 1.0f;
        Chronology chronology = ISOChronology.getInstanceUTC();

        FacetProcessor internalProcessor = null;
        byte[] internalConfig = null;
       
        XContentParser.Token token;
View Full Code Here

        DateTimeZone postZone = DateTimeZone.UTC;
        boolean preZoneAdjustLargeInterval = false;
        long preOffset = 0;
        long postOffset = 0;
        float factor = 1.0f;
        final Chronology chronology = ISOChronology.getInstanceUTC();
        XContentParser.Token token;
        String fieldName = null;
        int exactThreshold = 1000;

        while((token = parser.nextToken()) != XContentParser.Token.END_OBJECT) {
View Full Code Here

TOP

Related Classes of org.elasticsearch.common.joda.time.Chronology

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.