[[@doctodo method_description:isDueToday]].

@return [[@doctodo return_type:isDueToday]] [[@doctodo return_description:isDueToday]]
324515
public function isDueToday()
    {
        if (empty($this->end)) {
            return false;
        }

        return DateHelper::isToday(DateHelper::endOfDay($this->end));
    }
558456
public boolean isToday() {
		Validate.notNull(getValue(), getClass().getSimpleName() + " contains null value");
		return DateUtils.isSameDay(new Date(), getValue());
	}
376948
public boolean isAfter(Day day)
  {
    if (day == null)
      throw new IllegalArgumentException("day cannot be null");

    return localDate.isAfter(day.localDate);
  }
261910
public function IsToday()
    {
        return $this->Format(self::ISO_DATE) === DBDatetime::now()->Format(self::ISO_DATE);
    }
1108936
public static Date getRoundedDayCurDate() {
        Calendar cal = new GregorianCalendar();

        return new GregorianCalendar(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH))
                   .getTime();
    }
707664
public function getLastWorkingDayMonty()
    {
        $ts = $this->ultimoDiaMes();
        while (! $this->checkDiaUtil($ts)) {
            $ts = strtotime("-1 day", $ts);
        }

        return $this->returnDateObj($ts);
    }
1075662
public function isTemporal()
    {
        return in_array($this->type, [
            PropelTypes::TIMESTAMP,
            PropelTypes::DATE,
            PropelTypes::TIME,
            PropelTypes::BU_DATE,
            PropelTypes::BU_TIMESTAMP,
        ]);
    }
693930
private function getWeekDays()
    {
        if (empty(self::$weekDays) && ($this->translator instanceof TranslatorInterface)) {
            self::$weekDays = [
                $this->translator->trans('calendar.weekdays.monday', [], 'default'),
                $this->translator->trans('calendar.weekdays.tuesday', [], 'default'),
                $this->translator->trans('calendar.weekdays.wednesday', [], 'default'),
                $this->translator->trans('calendar.weekdays.thursday', [], 'default'),
                $this->translator->trans('calendar.weekdays.friday', [], 'default'),
                $this->translator->trans('calendar.weekdays.saturday', [], 'default'),
                $this->translator->trans('calendar.weekdays.sunday', [], 'default'),
            ];
        }

        return self::$weekDays;
    }
1343170
public function toDays($d)
    {
        $v = $this->getValue();
        return $d/($this->c6/$this->{'c'.$v});
    }
560178
public Integer getDay() {
		String dateValue = getValue();

		if (dateValue != null && dateValue.length() == DAY_END) {
			return parseDateComponent(dateValue.substring(DAY_START, DAY_END), getPaddingChar());
		} else {
			return null;
		}
	}
409466
protected function getDaily() {
        if (!$this->_daily) {
            $this->_daily = new DailyList($this->version, $this->solution['accountSid']);
        }

        return $this->_daily;
    }
1269212
private function getDateTimeType(): Type
    {
        if ($this->dateTimeType === null) {
            $this->dateTimeType = Type::getType(DateTimeType::DATETIME);
        }

        return $this->dateTimeType;
    }
960154
public function getOrderDate()
    {
        if ( empty( $this->oxorder__oxorderdate->value ) ) {
            return '';
        }

        return date( 'Y-m-d', strtotime( $this->oxorder__oxorderdate->value ) );
    }
836296
def todate(self):
        
        arr = get_gregorian_date_from_julian_day(self.tojulianday())
        return datetime.date(int(arr[0]), int(arr[1]), int(arr[2]))
796126
public static function get_calendar_type() {
        global $CFG, $USER, $SESSION, $COURSE;

        // Course calendartype can override all other settings for this page.
        if (!empty($COURSE->id) and $COURSE->id != SITEID and !empty($COURSE->calendartype)) {
            $return = $COURSE->calendartype;
        } else if (!empty($SESSION->calendartype)) { // Session calendartype can override other settings.
            $return = $SESSION->calendartype;
        } else if (!empty($USER->calendartype)) {
            $return = $USER->calendartype;
        } else if (!empty($CFG->calendartype)) {
            $return = $CFG->calendartype;
        } else {
            $return = 'gregorian';
        }

        return $return;
    }
1127716
static public function overdueDays($dueDate)
    {
        $dateDiff = date_diff(is_object($dueDate) ? $dueDate : FlexiBeeRO::flexiDateToDateTime($dueDate),
            new \DateTime());
        if ($dateDiff->invert == 1) {
            $ddif = $dateDiff->days * -1;
        } else {
            $ddif = $dateDiff->days;
        }

        return $ddif;
    }
894622
def what(self):
        
        originalFromDt = dt.datetime.combine(self.except_date,
                                             timeFrom(self.overrides.time_from))
        changedFromDt = dt.datetime.combine(self.date, timeFrom(self.time_from))
        originalDaysDelta = dt.timedelta(days=self.overrides.num_days - 1)
        originalToDt = getAwareDatetime(self.except_date + originalDaysDelta,
                                        self.overrides.time_to, self.tz)
        changedDaysDelta = dt.timedelta(days=self.num_days - 1)
        changedToDt = getAwareDatetime(self.except_date + changedDaysDelta,
                                        self.time_to, self.tz)
        if originalFromDt < changedFromDt:
            return _("Postponed")
        elif originalFromDt > changedFromDt or originalToDt != changedToDt:
            return _("Rescheduled")
        else:
            return None