Index
Modules:
chrono
,
chrono/calendars
,
chrono/timestamps
.
API symbols
`$`:
chrono: proc `$`(a: Calendar): string
chrono: proc `$`(a: Timestamp): string
calendars: proc `$`(a: Calendar): string
timestamps: proc `$`(a: Timestamp): string
`<=`:
chrono: proc `<=`(a, b: Calendar): bool
chrono: proc `<=`(a, b: Timestamp): bool
calendars: proc `<=`(a, b: Calendar): bool
timestamps: proc `<=`(a, b: Timestamp): bool
`<`:
chrono: proc `<`(a, b: Calendar): bool
chrono: proc `<`(a, b: Timestamp): bool
calendars: proc `<`(a, b: Calendar): bool
timestamps: proc `<`(a, b: Timestamp): bool
`==`:
chrono: proc `==`(a, b: Calendar): bool
chrono: proc `==`(a, b: Timestamp): bool
calendars: proc `==`(a, b: Calendar): bool
timestamps: proc `==`(a, b: Timestamp): bool
`>=`:
chrono: proc `>=`(a, b: Calendar): bool
chrono: proc `>=`(a, b: Timestamp): bool
calendars: proc `>=`(a, b: Calendar): bool
timestamps: proc `>=`(a, b: Timestamp): bool
`>`:
chrono: proc `>`(a, b: Calendar): bool
chrono: proc `>`(a, b: Timestamp): bool
calendars: proc `>`(a, b: Calendar): bool
timestamps: proc `>`(a, b: Timestamp): bool
add:
chrono: proc add(cal: var Calendar; timeScale: TimeScale; number: float)
chrono: proc add(cal: var Calendar; timeScale: TimeScale; number: int)
chrono: proc add(ts: Timestamp; timeScale: TimeScale; number: int): Timestamp
calendars: proc add(cal: var Calendar; timeScale: TimeScale; number: float)
calendars: proc add(cal: var Calendar; timeScale: TimeScale; number: int)
timestamps: proc add(ts: Timestamp; timeScale: TimeScale; number: int): Timestamp
applyTimezone:
chrono: proc applyTimezone(cal: var Calendar; tzName: string)
Calendar:
chrono: object Calendar
calendar:
chrono: proc calendar(ts: Timestamp): Calendar
chrono: proc calendar(ts: Timestamp; tzOffset: float64): Calendar
chrono: proc calendar(ts: Timestamp; tzName: string): Calendar
Calendar:
calendars: object Calendar
calendar:
timestamps: proc calendar(ts: Timestamp): Calendar
timestamps: proc calendar(ts: Timestamp; tzOffset: float64): Calendar
clearTimezone:
chrono: proc clearTimezone(cal: var Calendar)
compare:
chrono: proc compare(a, b: Calendar): int
calendars: proc compare(a, b: Calendar): int
copy:
chrono: proc copy(cal: Calendar): Calendar
calendars: proc copy(cal: Calendar): Calendar
Day:
chrono: TimeScale.Day
calendars: TimeScale.Day
daysInMonth:
chrono: proc daysInMonth(cal: Calendar): int
calendars: proc daysInMonth(cal: Calendar): int
DstChange:
chrono: object DstChange
dstChanges:
chrono: var dstChanges
findDstChanges:
chrono: iterator findDstChanges(tz: TimeZone): DstChange
findTimeZone:
chrono: proc findTimeZone(tzId: int): TimeZone
chrono: proc findTimeZone(tzName: string): TimeZone
findTimeZoneFromDstName:
chrono: iterator findTimeZoneFromDstName(dstName: string): TimeZone
format:
chrono: proc format(cal: Calendar; format: string): string
chrono: proc format(ts: Timestamp; fmt: string): string
chrono: proc format(ts: Timestamp; fmt: string; tzName: string): string
calendars: proc format(cal: Calendar; format: string): string
timestamps: proc format(ts: Timestamp; fmt: string): string
formatIso:
chrono: proc formatIso(cal: Calendar): string
chrono: proc formatIso(ts: Timestamp): string
chrono: proc formatIso(ts: Timestamp; tzOffset: float64): string
chrono: proc formatIso(ts: Timestamp; tzName: string): string
calendars: proc formatIso(cal: Calendar): string
timestamps: proc formatIso(ts: Timestamp): string
timestamps: proc formatIso(ts: Timestamp; tzOffset: float64): string
Hour:
chrono: TimeScale.Hour
calendars: TimeScale.Hour
leapYear:
chrono: proc leapYear(cal: Calendar): bool
calendars: proc leapYear(cal: Calendar): bool
loadTzData:
chrono: proc loadTzData(tzData: string)
Minute:
chrono: TimeScale.Minute
calendars: TimeScale.Minute
Month:
chrono: TimeScale.Month
calendars: TimeScale.Month
normalize:
chrono: proc normalize(cal: var Calendar)
calendars: proc normalize(cal: var Calendar)
normalizeTimezone:
chrono: proc normalizeTimezone(cal: var Calendar)
parseCalendar:
chrono: proc parseCalendar(formats: seq[string]; value: string): Calendar
chrono: proc parseCalendar(format: string; value: string): Calendar
calendars: proc parseCalendar(formats: seq[string]; value: string): Calendar
calendars: proc parseCalendar(format: string; value: string): Calendar
parseIsoCalendar:
chrono: proc parseIsoCalendar(iso: string): Calendar
calendars: proc parseIsoCalendar(iso: string): Calendar
parseIsoTs:
chrono: proc parseIsoTs(iso: string): Timestamp
timestamps: proc parseIsoTs(iso: string): Timestamp
parseTimeScale:
chrono: proc parseTimeScale(timeScale: string): TimeScale
calendars: proc parseTimeScale(timeScale: string): TimeScale
parseTs:
chrono: proc parseTs(fmt: string; value: string): Timestamp
chrono: proc parseTs(fmt: string; value: string; tzName: string): Timestamp
timestamps: proc parseTs(fmt: string; value: string): Timestamp
Quarter:
chrono: TimeScale.Quarter
calendars: TimeScale.Quarter
Second:
chrono: TimeScale.Second
calendars: TimeScale.Second
shiftTimezone:
chrono: proc shiftTimezone(cal: var Calendar; tzName: string)
sub:
chrono: proc sub(cal: var Calendar; timeScale: TimeScale; number: float)
chrono: proc sub(cal: var Calendar; timeScale: TimeScale; number: int)
chrono: proc sub(ts: Timestamp; timeScale: TimeScale; number: int): Timestamp
calendars: proc sub(cal: var Calendar; timeScale: TimeScale; number: float)
calendars: proc sub(cal: var Calendar; timeScale: TimeScale; number: int)
timestamps: proc sub(ts: Timestamp; timeScale: TimeScale; number: int): Timestamp
TimeScale:
chrono: enum TimeScale
calendars: enum TimeScale
Timestamp:
chrono: type Timestamp
timestamps: type Timestamp
TimeZone:
chrono: object TimeZone
toEndOf:
chrono: proc toEndOf(cal: var Calendar; timeScale: TimeScale)
chrono: proc toEndOf(ts: Timestamp; timeScale: TimeScale): Timestamp
calendars: proc toEndOf(cal: var Calendar; timeScale: TimeScale)
timestamps: proc toEndOf(ts: Timestamp; timeScale: TimeScale): Timestamp
toStartOf:
chrono: proc toStartOf(cal: var Calendar; timeScale: TimeScale)
chrono: proc toStartOf(ts: Timestamp; timeScale: TimeScale): Timestamp
calendars: proc toStartOf(cal: var Calendar; timeScale: TimeScale)
timestamps: proc toStartOf(ts: Timestamp; timeScale: TimeScale): Timestamp
ts:
chrono: proc ts(cal: Calendar): Timestamp
timestamps: proc ts(cal: Calendar): Timestamp
tzs:
chrono: var tzs
Unknown:
chrono: TimeScale.Unknown
calendars: TimeScale.Unknown
valid:
chrono: proc valid(tz: TimeZone): bool
Week:
chrono: TimeScale.Week
calendars: TimeScale.Week
weekday:
chrono: proc weekday(cal: Calendar): int
calendars: proc weekday(cal: Calendar): int
Year:
chrono: TimeScale.Year
calendars: TimeScale.Year