The user's birthday, typed to {@code java.util.Date} if possible.

@return The user's birthday, or {@code null} if unavailable or only available in month/year format.
492582
public Date getBirthdayAsDate() {
    if (isBlank(getBirthday()) || getBirthday().split("/").length < 2) {
      return null;
    }

    return toDateFromShortFormat(birthday);
  }
290285
public Integer getYear() {
		String dateValue = getValue();

		if (dateValue != null && dateValue.length() >= YEAR_END) {
			return parseDateComponent(dateValue.substring(YEAR_START, YEAR_END), getPaddingChar());
		} else {
			return null;
		}
	}
798392
public String getDate(Date date) {

        return CmsDateTimeUtil.getDate(date, CmsDateTimeUtil.Format.SHORT);
    }
481636
public User get(String name) {

        User user = (User) userList.get(name);

        if (user == null) {
            throw Error.error(ErrorCode.X_28501, name);
        }

        return user;
    }
1162508
public int getDayOfYear() {

        int doy = this.iso.get(PlainDate.DAY_OF_YEAR);

        if (this.iso.getYear() < 1941) {
            if (this.iso.getMonth() >= 4) {
                doy -= (this.iso.isLeapYear() ? 91 : 90);
            } else {
                doy += 275; // 91 + 92 + 92
            }
        }

        return doy;

    }
1074420
public Calendar getSortCalendar() {
        final String dateString = stripApproximationKeywords();
        if (dateString.isEmpty()) {
            return null;
        }
        return parseCalendar(dateString);
    }
49640
public Date getDate() {
		try {
            date = dateFormatter.parse(getText());
		} catch (ParseException e) {
			date = null;
		}
		return date;
	}
549006
public long getUserDataCheckInterval() {

        if (m_userDateCheckInterval == null) {
            return Long.MAX_VALUE;
        } else {
            return CmsStringUtil.parseDuration(m_userDateCheckInterval, Long.MAX_VALUE);
        }
    }
1261414
public static Date getFirstDayOfMonth(Date date) {
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(date);
        int firstDay = calendar.getActualMinimum(Calendar.DAY_OF_MONTH);
        return org.apache.commons.lang.time.DateUtils.setDays(date, firstDay);
    }
1033578
public function getBirthdayObject(){
		$birthday=$this->getBirthday();
		if(empty($birthday)){
			return NULL;
			}
		$birthday=new DateTime($birthday);
		return $birthday;
		}
1324125
public static Date dateReservedMonth000(Calendar calendar) {
        calendar.set(Calendar.DAY_OF_MONTH, 1);

        return dateReservedDay000(calendar);
    }
560882
public static @Nullable @CheckForNull String getCurrentUsername() {
    Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
    if (authentication == null) {
      return null;
    }
    return getUsername(authentication);
  }
253042
private static Date getDate(int day, int month, int year) {
		Calendar cal = Calendar.getInstance();
		cal.set(Calendar.YEAR, year);
		cal.set(Calendar.MONTH, month);
		cal.set(Calendar.DATE, day);
		return cal.getTime();
	}
236240
public static Date dateReservedYear000(Date date) {
        Calendar calendar = Calendar.getInstance();
        calendar.setTime(date);

        return dateReservedYear000(calendar);
    }
1176971
public static int getYearFromData(Date date) {
		Calendar cal = Calendar.getInstance();
		cal.setTime(date);
		return cal.get(Calendar.YEAR);
	}
582456
protected final String getBirthDate(final Person person) {
        final GetDateVisitor visitor = new GetDateVisitor("Birth");
        person.accept(visitor);
        return visitor.getDate();
    }
279479
public Date getDate(String name) {
        String value = get(name);
        return value != null ? HttpDate.parse(value) : null;
    }