UNPKG

mcp-wtit

Version:

A Model Context Protocol (MCP) server that provides current time in ISO8601 format with timezone support

13 lines 584 B
import type { ITimeService } from '../interfaces/time.service.interface.js'; import type { ITimeData, ITimeFormatOptions } from '../../shared/types/time.types.js'; export declare class TimeService implements ITimeService { private readonly defaultOptions; getCurrentTime(options?: ITimeFormatOptions): ITimeData; getCurrentTimeISO8601(options?: ITimeFormatOptions): string; getCurrentTimestamp(): number; getTimeZone(): string; private formatToISO8601; private formatWithTimeZone; private getTimeZoneOffset; } //# sourceMappingURL=time.service.d.ts.map