Resource Description for AcademicCalendarDate

Properties for AcademicCalendarDate

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicHoliday AcademicHoliday
academicYear AcademicYear
active bool
calendarDay int
calendarDayOfWeek int
calendarMonth int
calendarWeek int
calendarYear int
code string
dataOrder int
dayOfAcademicYear int
dayOfCycle int
dayOfTerm int
endDate DateTime
isGoodSchoolDay bool
isPublicHoliday bool
publicHolidayName string
startDate DateTime
term Term

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\AcademicCalendarDate;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$academicCalendarDate = AcademicCalendarDate::retrieve(5433);

$startDate = $academicCalendarDate->getStartDate();
$endDate = $academicCalendarDate->getEndDate();
$calendarYear = $academicCalendarDate->getCalendarYear();
$calendarMonth = $academicCalendarDate->getCalendarMonth();
$calendarWeek = $academicCalendarDate->getCalendarWeek();
$calendarDay = $academicCalendarDate->getCalendarDay();
$calendarDayOfWeek = $academicCalendarDate->getCalendarDayOfWeek();
$academicYear = $academicCalendarDate->getAcademicYear();
$term = $academicCalendarDate->getTerm();
$academicYearCycleNumber = $academicCalendarDate->getAcademicYearCycleNumber();
$termCycleNumber = $academicCalendarDate->getTermCycleNumber();
$dayOfCycle = $academicCalendarDate->getDayOfCycle();
$dayOfTerm = $academicCalendarDate->getDayOfTerm();
$dayOfAcademicYear = $academicCalendarDate->getDayOfAcademicYear();
$academicHoliday = $academicCalendarDate->getAcademicHoliday();
$isGoodSchoolDay = $academicCalendarDate->getIsGoodSchoolDay();

 

Related Resources