doc fixes
This commit is contained in:
parent
0433f068c1
commit
e172fe0407
@ -868,13 +868,13 @@ impl CdsTime<DaysLen24Bits> {
|
||||
Self::from_dt_generic_ps_prec(dt, LengthOfDaySegment::Long24Bits)
|
||||
}
|
||||
|
||||
/// Like [Self::from_now_with_u24_days] but with microsecond sub-millisecond precision.
|
||||
/// Like [Self::now_with_u24_days] but with microsecond sub-millisecond precision.
|
||||
#[cfg(feature = "std")]
|
||||
pub fn now_with_u24_days_us_precision() -> Result<Self, StdTimestampError> {
|
||||
Self::now_generic_with_us_prec(LengthOfDaySegment::Long24Bits)
|
||||
}
|
||||
|
||||
/// Like [Self::from_now_with_u24_days] but with picoseconds sub-millisecond precision.
|
||||
/// Like [Self::now_with_u24_days] but with picoseconds sub-millisecond precision.
|
||||
#[cfg(feature = "std")]
|
||||
pub fn now_with_u24_days_ps_precision() -> Result<Self, StdTimestampError> {
|
||||
Self::now_generic_with_us_prec(LengthOfDaySegment::Long24Bits)
|
||||
@ -960,13 +960,13 @@ impl CdsTime<DaysLen16Bits> {
|
||||
Self::from_dt_generic_ps_prec(dt, LengthOfDaySegment::Short16Bits)
|
||||
}
|
||||
|
||||
/// Like [Self::from_now_with_u16_days] but with microsecond sub-millisecond precision.
|
||||
/// Like [Self::now_with_u16_days] but with microsecond sub-millisecond precision.
|
||||
#[cfg(feature = "std")]
|
||||
pub fn now_with_u16_days_us_precision() -> Result<Self, StdTimestampError> {
|
||||
Self::now_generic_with_us_prec(LengthOfDaySegment::Short16Bits)
|
||||
}
|
||||
|
||||
/// Like [Self::from_now_with_u16_days] but with picosecond sub-millisecond precision.
|
||||
/// Like [Self::now_with_u16_days] but with picosecond sub-millisecond precision.
|
||||
#[cfg(feature = "std")]
|
||||
pub fn from_now_with_u16_days_ps_precision() -> Result<Self, StdTimestampError> {
|
||||
Self::from_now_generic_ps_prec(LengthOfDaySegment::Short16Bits)
|
||||
|
Loading…
Reference in New Issue
Block a user