def __init__(self, value: TScalar, start_time: Optional[int]=None, end_time: Optional[int]=None):
    self._value = self.as_number(value)
    if (start_time is None):
        start_time = self._now()
    if (end_time is None):
        end_time = self._now()
    self._start = start_time
    self._end = end_time
def __init__(self, value: TScalar, start_time: Optional[int]=None, end_time: Optional[int]=None):
    self._value = self.as_number(value)
    if (start_time is None):
        start_time = self._now()
    if (end_time is None):
        end_time = self._now()
    self._start = start_time
    self._end = end_time