Read full duration and update maximum.

        Parameters
        ----------
        reset: bool
            If True, current window start time is reset to 0.
11221
def update(self, reset=True):
        
        if self.parent.info.dataset is not None:
            # read from the dataset, if available
            header = self.parent.info.dataset.header
            maximum = header['n_samples'] / header['s_freq']  # in s
            self.minimum = 0
            self.maximum = maximum
            self.start_time = self.parent.info.dataset.header['start_time']

        elif self.parent.notes.annot is not None:
            # read from annotations
            annot = self.parent.notes.annot
            self.minimum = annot.first_second
            self.maximum = annot.last_second
            self.start_time = annot.start_time

        # make it time-zone unaware
        self.start_time = self.start_time.replace(tzinfo=None)

        if reset:
            self.parent.value('window_start', 0)  # the only value that is reset

        self.display()
655141
def reset(self):
        
        self._monitor.notify_received()
        self._pinger.stop()
        self._mark_fresh()
113225
def reset(self):
        
        self.reached_limit = False
        self.count = 0
        self.seen.clear()
496280
def start(self, duration=None):
        
        if duration is None:
            duration = self.duration

        self.set(duration)
863203
def reset(self):
        
        self._start_time = None
        self._end_time = None
        self._elapsed_time = datetime.timedelta()
        self._cumulative_elapsed_time = datetime.timedelta()
        self.split_elapsed_time = []
1024761
def open(self):
        
        self.startTime = datetime.datetime.now()
        self.offset = 0
        return self
816618
public void reset()
   {
      min.set(Long.MAX_VALUE);
      max.set(0);
      total.set(0);
      times.set(0);
   }
687297
def set_beginTimestamp(self,btimestamp=None):
        
        if btimestamp is None:
            import time
            btimestamp = time.strftime('%Y-%m-%dT%H:%M:%S%Z')
        self.node.set('beginTimestamp',btimestamp)
253258
private void reset() {
    size = 0;
    qualifier_index = 0;
    value_index = 0;
    base_time = Long.MIN_VALUE;
    last_timestamp = Long.MIN_VALUE;
  }
1263967
def _start_refresh_timer(self):
        
        if not self._timer:
            self._timer = self._vim.eval(
                "timer_start({}, 'EnTick', {{'repeat': -1}})"
                .format(REFRESH_TIMER)
            )
949462
def start(self, max_val):
    
    self._timer.init_timer(max_value=max_val)

    self._infinite_mode = max_val <= 0
    self._infinite_position = 0

    self._max = max_val
    self._fill_empty()
    self._value = 0
    self.progress(0)
    self._status = ProgressBarStatus.started
494786
def reset(self):
        
        self.prevframe = None
        self.wasmoving = False
        self.t0 = 0
        self.ismoving = False
1334233
def on_reset_button(self, _):
        """"""
        for graph in self.visible_graphs.values():
            graph.reset()
        for graph in self.graphs.values():
            try:
                graph.source.reset()
            except NotImplementedError:
                pass
        # Reset clock
        self.clock_view.set_text(ZERO_TIME)

        self.update_displayed_information()
344759
def refresh(self, flush=True, elapsed=None):
        

        if self.enabled:
            self.manager.write(output=self.format(elapsed=elapsed),
                               flush=flush, position=self.position)
1253929
def reset(self):
        
        self._elapsed = datetime.timedelta()
        self._delta = datetime.timedelta()
        self._starttime = datetime.datetime.now()
        
        self.refresh()
1135616
def start(self, max):
        
        try:
            self.widget.max = max
            display(self.widget)
        except:
            pass
644881
def reset(self, value=None):
    

    if value is None:
      value = time.clock()
    self.start = value
    if self.value_on_reset:
      self.value = self.value_on_reset