aboutsummaryrefslogtreecommitdiff
path: root/time/index.ts
blob: 34a518d8db7fef287ea37374d3bbfb6eb0889371 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
export {
  DAYS_PER_MONTH,
  DAYS_PER_WEEK,
  DAYS_PER_YEAR,
  FESTIVAL_DAYS,
  FESTIVAL_MONTH,
  MONTHS_PER_YEAR,
  MONTH_NAMES,
  REGULAR_MONTH_COUNT,
  daysInMonth,
  isFestival,
  monthName,
  monthSeason,
  type MonthName,
  type Season
} from 'time/calendar'

export {
  addDays,
  addMonths,
  addWeeks,
  addYears,
  compareGameTime,
  dayOfWeek,
  dayOfYear,
  daysBetween,
  formatGameTime,
  isAfter,
  isBefore,
  isSameDay,
  makeGameTime,
  toAbsoluteDays,
  weeksBetween,
  type GameTime
} from 'time/gameTime'

export {
  TICK_UNIT_BY_LIFE_STAGE,
  lifeStageForAge,
  tickUnitForAge,
  type LifeStage,
  type TickUnit
} from 'time/granularity'

export { SPEEDS, type Speed } from 'time/speed'