All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.abubusoft.kripton.common.TimeZoneUtils Maven / Gradle / Ivy

There is a newer version: 8.2.0-rc.4
Show newest version
package com.abubusoft.kripton.common;

import java.util.TimeZone;

public class TimeZoneUtils {
	
	public static String write(TimeZone value) {
		if (value==null) return null;
		return value.getID();		
	}
	
	/**
	 * Convert a string to relative locale
	 * @param localeString
	 * @return
	 */
	public static TimeZone read(String string) {
		return TimeZone.getTimeZone(string);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy