Skip to content

Commit fa59451

Browse files
committed
Update core-time.
1 parent 4eb1c0b commit fa59451

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

docs/basic_coding/core/core-time.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class TimeDiffUS {
2929
public:
3030
TimeDiffUS(uint64_t diff);
3131
operator uint64_t() const;
32-
double to_second() const;
33-
float to_secondf() const;
34-
uint64_t to_microsecond() const;
35-
uint32_t to_millisecond() const;
32+
double ToSecond() const;
33+
float ToSecondf() const;
34+
uint64_t ToMicrosecond() const;
35+
uint32_t ToMillisecond() const;
3636
};
3737
```
3838

@@ -59,10 +59,10 @@ class TimeDiffMS {
5959
public:
6060
TimeDiffMS(uint32_t diff);
6161
operator uint32_t() const;
62-
double to_second();
63-
float to_secondf();
64-
uint32_t to_millisecond() const;
65-
uint64_t to_microsecond() const;
62+
double ToSecond();
63+
float ToSecondf();
64+
uint64_t ToMicrosecond() const;
65+
uint32_t ToMillisecond() const;
6666
};
6767
```
6868

i18n/en/docusaurus-plugin-content-docs/current/basic_coding/core/core-time.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class TimeDiffUS {
2929
public:
3030
TimeDiffUS(uint64_t diff);
3131
operator uint64_t() const;
32-
double to_second() const;
33-
float to_secondf() const;
34-
uint64_t to_microsecond() const;
35-
uint32_t to_millisecond() const;
32+
double ToSecond() const;
33+
float ToSecondf() const;
34+
uint64_t ToMicrosecond() const;
35+
uint32_t ToMillisecond() const;
3636
};
3737
```
3838

@@ -59,10 +59,10 @@ class TimeDiffMS {
5959
public:
6060
TimeDiffMS(uint32_t diff);
6161
operator uint32_t() const;
62-
double to_second();
63-
float to_secondf();
64-
uint32_t to_millisecond() const;
65-
uint64_t to_microsecond() const;
62+
double ToSecond();
63+
float ToSecondf();
64+
uint64_t ToMicrosecond() const;
65+
uint32_t ToMillisecond() const;
6666
};
6767
```
6868

0 commit comments

Comments
 (0)