Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (c) 2019 - Manifold Systems LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package manifold.science.measures;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
import java.time.temporal.Temporal;
import java.time.temporal.TemporalUnit;
import manifold.science.api.AbstractPrimaryUnit;
import manifold.science.api.UnitCache;
import manifold.science.util.Rational;
import static manifold.science.measures.MetricScaleUnit.*;
import static manifold.science.util.CoercionConstants.r;
/**
* The second is the SI unit of time. All instances of {@code TimeUnit} are a factor of one second.
*
* Atomic clocks, which keep time using transition energies in atoms, revolutionised timekeeping. NPL developed the
* first operational caesium-beam atomic clock in 1955. This clock was so accurate that it would only gain or lose one
* second in three hundred years. Modern atomic clocks can be as much as a million times more accurate than this, and
* underpin satellite technology, like GPS or the internet.
* (ref. npl.co.uk)
*/
public final class TimeUnit extends AbstractPrimaryUnit