• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// generated by diplomat-tool
2import type { Calendar } from "./Calendar"
3import type { CalendarParseError } from "./CalendarParseError"
4import type { Date } from "./Date"
5import type { Time } from "./Time"
6import type { pointer, codepoint } from "./diplomat-runtime.d.ts";
7
8
9/** An ICU4X DateTime object capable of containing a date and time for any calendar.
10*
11*See the [Rust documentation for `DateTime`](https://docs.rs/icu/latest/icu/time/struct.DateTime.html) for more information.
12*/
13
14
15export class DateTime {
16
17    get date() : Date;
18
19    get time() : Time;
20
21
22    static fromString(v: string, calendar: Calendar): DateTime;
23}