Hello. I'm new to java
micro developing and I'm making a program that converts units of time,length,temp etc.
My problem is the length of the program because of making if/else of all the possible conversion. For example, converting seconds to minute,hour,weeks,months.
And then converting minute to second,day,hour,weeks. Is there a shortcut for this?