Class Rounding.Builder

java.lang.Object
org.elasticsearch.common.Rounding.Builder
Enclosing class:
Rounding

public static class Rounding.Builder
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Builder​(Rounding.DateTimeUnit unit)  
    Builder​(TimeValue interval)  
  • Method Summary

    Modifier and Type Method Description
    Rounding build()  
    Rounding.Builder offset​(long offset)
    Sets the offset of this rounding from the normal beginning of the interval.
    Rounding.Builder timeZone​(java.time.ZoneId timeZone)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait