title: explain in detail TimeBasedTriggeringPolicy for log4j2 v2.3
body: <p>Can someone demystify TimeBasedTriggeringPolicy for log4j2 v2.3 and its arguments ?</p>
  
  <ol>
  <li>what do you mean by most specific time unit ?</li>
  <li>is the rollover strategy applicable for only time based trigger or it will be applicable for any triggering policy.</li>
  </ol>
  
  <p>The document says 
  "</p>
  
  <blockquote>
    <p>The TimeBasedTriggeringPolicy causes a rollover once the date/time
    pattern no longer applies to the active file. This policy accepts an
    increment attribute which indicates how frequently the rollover should
    occur based on the time pattern and a modulate boolean attribute.</p>
    
    <p>TimeBasedTriggeringPolicy Parameters</p>
    
    <p>Parameter Name   Type    Description</p>
    
    <p>interval integer How often a rollover should occur based on the most
    specific time unit in the date pattern. For example, with a date
    pattern with hours as the most specific item and and increment of 4
    rollovers would occur every 4 hours. The default value is 1.</p>
    
    <p>modulate boolean Indicates whether the interval should be adjusted to
    cause the next rollover to occur on the interval boundary. For
    example, if the item is hours, the current hour is 3 am and the
    interval is 4 then then the first rollover will occur at 4 am and then
    next ones will occur at 8 am, noon, 4pm, etc.</p>
    
    <p>"</p>
  </blockquote>