Module python_comm::use_basic

source ·
Expand description

common basic functions.

Usage

use python_comm::use_basic::*;

Re-exports

pub use crate::textsearcher::TextSearcher;

Macros

build time
Current version number

Structs

Decimal represents a 128 bit representation of a fixed-precision decimal number. The finite set of values of type Decimal are of the form m / 10e, where m is an integer such that -296 < m < 296, and e is an integer between 0 and 28 inclusive.

Traits

A generic trait for converting a number to a value.

Functions

Beijing time, date only
Beijing time, date only, %Y-%m-%d format string
Beijing time, date and time
Beijing time, date and time, %Y-%m-%d %H:%M:%S format string
Beijing time, timestamp
Beijing time, timestamp, accurate to milliseconds
bjtc_xy: Conversion between various expressions of Beijing time, x -> y
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
Convert duration to timestamp, accurate to milliseconds
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_df
See bjtc_dn
Convert timestamp to duration, see bjtc_from_duration
See bjtc_df