Skip to content

Commit ef7a2f0

Browse files
authored
Create time.h#
1 parent f204b31 commit ef7a2f0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

std/time.h#

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
;; H# Standard Library — std -> time
2+
3+
pub fn now_unix() -> int is
4+
return 0
5+
end
6+
pub fn now_ms() -> int is
7+
return 0
8+
end
9+
pub fn sleep_ms(ms: int) is end
10+
pub fn sleep_s(s: int) is end
11+
pub fn format(ts: int, fmt: string) -> string is
12+
return ""
13+
end
14+
pub fn parse(s: string, fmt: string) -> int is
15+
return 0
16+
end

0 commit comments

Comments
 (0)