Skip to main content
Version: Next

Namespace: SimpleCalendar

The SimpleCalendar namespace is used to house all functionality that other modules, systems and macros can access for interacting with the Simple Calendar module.

Index

Namespaces

Interfaces

Type Aliases

Date

Date: object

Type representing a date within Simple Calendar

Type declaration

day

day: number

The day value of the date. The day is index based, meaning the first day of the month will have a value of 0.

month

month: number

The month value of the date. The month is index based, meaning the first month of a year will have a value of 0.

year

year: number

The year value of the date.


DateTime

DateTime: Date & Time

Type representing a date and time


DateTimeParts

DateTimeParts: Partial <Date> & Partial <Time>

Type representing a date and time with optional parameters


Time

Time: object

Type representing a time within Simple Calendar

Type declaration

hour

hour: number

The hour value of the time.

minute

minute: number

The minute value of the time.

seconds

seconds: number

The second value of the time.