Getter for the last login date.

@return the last login.
191575
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
    @JsonProperty("last_login")
    public Date getLastLogin() {
        return lastLogin;
    }
1311241
public Integer getLoginTimeout()
   {
      if (childNode.getTextValueForPatternName("login-timeout") != null && !childNode.getTextValueForPatternName("login-timeout").equals("null")) {
         return Integer.valueOf(childNode.getTextValueForPatternName("login-timeout"));
      }
      return null;
   }
1019233
public Date getExpirationDateAsDate()
  {
    if (hasExpirationDate())
    {
      final LocalDateTime endOfMonth = expirationDate.atEndOfMonth()
        .atStartOfDay().plus(1, ChronoUnit.DAYS).minus(1, ChronoUnit.NANOS);
      final Instant instant = endOfMonth.atZone(ZoneId.systemDefault())
        .toInstant();
      final Date date = new Date(instant.toEpochMilli());
      return date;
    }
    else
    {
      return null;
    }
  }
612111
private String getLastQueryParam() {

        final String param = parseOptionalStringValue(XML_ELEMENT_LAST_QUERYPARAM);
        if (param == null) {
            return DEFAULT_LAST_QUERY_PARAM;
        } else {
            return param;
        }
    }
273026
public static function getLastVisitedUrl() {
	    $urls = common_session_SessionManager::getSession()->getUserPropertyValues(TaoOntology::PROPERTY_USER_LAST_EXTENSION);
	    if (!empty($urls)) {
	        $lastUrl = current($urls);
	        return ROOT_URL.$lastUrl;
	    } else {
	        return null;
	    }
	}
841273
public function last ()
	{
		if (!is_array($this->data)) return $this->data;
		if (!count($this->data)) return null;
		end($this->data);
		return $this->data[key($this->data)];
	}
574757
public function getLastLogin() : Carbon
    {
        if ($this->lastLoginParsed !== null) {
            return $this->lastLoginParsed;
        }

        $name = $this->getLastLoginKey();

        $lastLogin = $this->asDateTime($this->getAttributeFromArray($name) ?? Carbon::now());

        return $this->{$name} = $this->lastLoginParsed = Carbon::createFromFormat('Y-m-d H:i:s', $lastLogin);
    }
275007
public E pollLast() {
        final Node<E> l = last;
        return (l == null) ? null : unlinkLast(l);
    }
901523
public synchronized TreeEntry<K, V> lastEntry() {
		if (!validState) {
			throw new InvalidStateException();
		}
		final LeafNode<K, V> node = findSideLeafNode(false);
		if (node == null) {
			return null;
		}
		final int slot = node.allocated - 1;
		final K key = node.keys[slot];
		final V value = node.values[slot];
		return ((key == null) ? null : new TreeEntry<K, V>(key, value));
	}
368846
def get_last(self):
        
        query = self.table().where('batch', self.get_last_batch_number())

        return query.order_by('migration', 'desc').get()
1093705
public function getLastLoggedAtAttribute()
    {
        $lastLogin = Logs::where('user_id', $this->id)
                ->where('name', 'like', 'USERAUTHLISTENER_ONUSERLOGIN')
                ->orderBy('created_at', 'desc')
                ->get(['created_at'])
                ->first();

        return ($lastLogin) ? $lastLogin->created_at->diffForHumans() : 'never';
    }
866468
public Long getLoggedUserId() {
    HttpSession session = getRequest().getSession(false);
    return session == null ? null : (Long) session.getAttribute("loggedUserId");
  }
431273
public function getLastLogin()
    {
        if ($this->sessionBag->has(self::PARAM_LAST_LOGIN_NS)) {
            return $this->sessionBag->get(self::PARAM_LAST_LOGIN_NS);
        } else {
            return null;
        }
    }
468050
public String getUser()
  {
    if (tc.isEntryEnabled())
    {
      SibTr.entry(tc, "getUser");
      SibTr.exit(tc, "getUser", user);
    }

    return user;
  }
715760
private String getLastLoginMessage(Long inacTime) {

        int days = (int)(inacTime.longValue() / (1000 * 60 * 60 * 24));
        if (days == 0) {
            return CmsVaadinUtils.getMessageText(Messages.GUI_USER_INFO_LAST_LOGIN_LESS_A_DAY_0);
        }
        if (days == 1) {
            return CmsVaadinUtils.getMessageText(Messages.GUI_USER_INFO_LAST_LOGIN_YESTERDAY_0);
        }
        return CmsVaadinUtils.getMessageText(Messages.GUI_USER_INFO_LAST_LOGIN_DAYS_AGO_1, new Integer(days));
    }
549006
public long getUserDataCheckInterval() {

        if (m_userDateCheckInterval == null) {
            return Long.MAX_VALUE;
        } else {
            return CmsStringUtil.parseDuration(m_userDateCheckInterval, Long.MAX_VALUE);
        }
    }
787455
public function getLogoutDate()
    {
        return isset($this->loginData[self::LOGOUT_DATE]) ? $this->loginData[self::LOGOUT_DATE] : null;
    }