code: public static TimeWindow of(int resolution, long period, String name) {
  		return new TimeWindow(resolution, period, name);
  	}
docs: Factory method to create a new TimeWindow.
  
  @param resolution
  the fine-grained resolution at which individual events will be
  aggregated. Must be a positive factor of <code>period</code>
  @param period
  the duration represented (at least at a
  <code>resolution</code> resolution-level accuracy)
  @param name
  a short name for the window; used to name
  automatically-generated metrics based on this window. e.g.
  '1m' or '12h'.