Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public final class Timestamp {
- private final long value;
- public Timestamp(final long value) {
- this.value = value;
- }
- public long getValue() {
- return value;
- }
- }
- public final class Timestamp {
- private final long value;
- public Timestamp(final long value) {
- this.value = value;
- }
- public float getProgress() {
- return (SomeExternalPlace.getTimestamp() - value) / SomeFloatConstant;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement