getter for timexInstance - gets
@generated
@return value of the feature
173617
public int getTimexInstance() {
    if (Timex3_Type.featOkTst && ((Timex3_Type)jcasType).casFeat_timexInstance == null)
      jcasType.jcas.throwFeatMissing("timexInstance", "de.unihd.dbs.uima.types.heideltime.Timex3");
    return jcasType.ll_cas.ll_getIntValue(addr, ((Timex3_Type)jcasType).casFeatCode_timexInstance);}
571380
public static long getCurrentTimeUtc() {
        Instant instant = Instant.now();
        ZonedDateTime dateTime = instant.atZone(ZoneOffset.UTC);
        return dateTime.toInstant().toEpochMilli();
    }
482082
def get(self):
        
        now = datetime.now()
        if self._start_time:
            if self._stop_time:
                return (self._stop_time - self._start_time).total_seconds()
            return (now - self._start_time).total_seconds()
        return 0.
455202
@Override
	public Long getValue() {
		final JobStatus status = eg.getState();

		final long restartingTimestamp = eg.getStatusTimestamp(JobStatus.RESTARTING);

		final long switchToRunningTimestamp;
		final long lastRestartTime;

		if (restartingTimestamp <= 0) {
			// we haven't yet restarted our job
			return 0L;
		}
		else if ((switchToRunningTimestamp = eg.getStatusTimestamp(JobStatus.RUNNING)) >= restartingTimestamp) {
			// we have transitioned to RUNNING since the last restart
			lastRestartTime = switchToRunningTimestamp - restartingTimestamp;
		}
		else if (status.isTerminalState()) {
			// since the last restart we've switched to a terminal state without touching
			// the RUNNING state (e.g. failing from RESTARTING)
			lastRestartTime = eg.getStatusTimestamp(status) - restartingTimestamp;
		}
		else {
			// we're still somewhere between RESTARTING and RUNNING
			lastRestartTime  = System.currentTimeMillis() - restartingTimestamp;
		}

		// we guard this with 'Math.max' to avoid negative timestamps when clocks re-sync 
		return Math.max(lastRestartTime, 0);
	}
930693
public Timex2 getTimex2(int i) {
    if (Document_Type.featOkTst && ((Document_Type)jcasType).casFeat_timex2 == null)
      jcasType.jcas.throwFeatMissing("timex2", "de.julielab.jules.types.ace.Document");
    jcasType.jcas.checkArrayBounds(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i);
    return (Timex2)(jcasType.ll_cas.ll_getFSForRef(jcasType.ll_cas.ll_getRefArrayValue(jcasType.ll_cas.ll_getRefValue(addr, ((Document_Type)jcasType).casFeatCode_timex2), i)));}
1138486
public static long getNanoTime() {
        Object token = ThreadIdentityManager.runAsServer();
        try {
            return AccessController.doPrivileged( new PrivilegedAction<Long>() {
                @Override
                public Long run() {
                    return System.nanoTime();
                }
            } ).longValue();
        } finally {
            ThreadIdentityManager.reset(token);
        }
    }
173062
public com.google.type.TimeOfDay getTimeValue() {
    if (typeCase_ == 6) {
      return (com.google.type.TimeOfDay) type_;
    }
    return com.google.type.TimeOfDay.getDefaultInstance();
  }
702260
public T getValue ()
    {
        // if the value is still around and it's expired, clear it
        if (_value != null && System.currentTimeMillis() >= _expires) {
            _value = null;
        }
        // then return the value (which may be cleared to null by now)
        return _value;
    }
559451
public Date getFrom() {
        final TimeInterval first = intervals.first();
        if (first != null) {
            return new Date(first.getFrom());
        }
        return null;
    }
669166
@Override
    public <V> V getMinimum(ChronoElement<V> element) {

        if (this.timestamp.contains(element)) {
            return this.timestamp.getMinimum(element);
        } else {
            return this.moment.getMinimum(element);
        }

    }
940986
public com.google.api.ads.admanager.axis.v201808.TimeUnit getTimeUnit() {
        return timeUnit;
    }
1245772
def GetTimeOfDay(self):
    
    normalized_timestamp = self._GetNormalizedTimestamp()
    if normalized_timestamp is None:
      return None, None, None

    _, hours, minutes, seconds = self._GetTimeValues(normalized_timestamp)
    return hours, minutes, seconds
440833
public String getTimestamp() {
        return (data != null && data.payload != null) ? data.payload.timestamp : null;
    }
328986
F getDateTimeInstance(final int dateStyle, final int timeStyle, final TimeZone timeZone, final Locale locale) {
		return getDateTimeInstance(Integer.valueOf(dateStyle), Integer.valueOf(timeStyle), timeZone, locale);
	}
268900
@Override
    public String getMinPollingTime() {
        return systemSecurityContext.runAsSystem(() -> tenantConfigurationManagement
                .getConfigurationValue(TenantConfigurationKey.MIN_POLLING_TIME_INTERVAL, String.class).getValue());
    }
1029558
def get_datetimenow(self):
        
        value = timezone.datetime.utcnow()
        if settings.USE_TZ:
            value = timezone.localtime(
                timezone.make_aware(value, timezone.utc),
                timezone.get_default_timezone()
            )
        return value
937264
public String getTimexType() {
    if (Timex3_Type.featOkTst && ((Timex3_Type)jcasType).casFeat_timexType == null)
      jcasType.jcas.throwFeatMissing("timexType", "de.unihd.dbs.uima.types.heideltime.Timex3");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Timex3_Type)jcasType).casFeatCode_timexType);}