pub fn birth(self, current: u64) -> u64 {
		match self {
			Era::Immortal => 0,
			Era::Mortal(period, phase) => (current.max(phase) - phase) / period * period + phase,
		}
	}
/// Get the block number of the start of the era whose properties this object
/// describes that `current` belongs to.
Get the block number of the start of the era whose properties this object
describes that `current` belongs to.
Get the block number of the start of the era whose properties this object describes that ` current ` belongs to .
pub fn birth(self, current: u64) -> u64 {
		match self {
			Era::Immortal => 0,
			Era::Mortal(period, phase) => (current.max(phase) - phase) / period * period + phase,
		}
	}
pub fn birth ( self , current : u64 ) -> u64 { match self { Era :: Immortal => 0 , Era :: Mortal ( period , phase ) => ( current . max ( phase ) - phase ) / period * period + phase , } }
Get the block number of the start of the era whose properties this object
describes that `current` belongs to.
Get the block number of the start of the era whose properties this object describes that ` current ` belongs to .
self
current
u64
self
current
u64