<commit_before>define(['Ti/_/lang', 'Ti/Tizen/Time/TZDate', 'Ti/Tizen/Time/TimeDuration', 'Ti/_/Evented'], function(lang, TZDate, TimeDuration, Evented) {
	return lang.setObject('Ti.Tizen.Time', Evented, {

		constants: {
			TIME_DURATION_UNIT_MSECS: 'MSECS',
			TIME_DURATION_UNIT_SECS: 'SECS',
			TIME_DURATION_UNIT_MINS: 'MINS',
			TIME_DURATION_UNIT_HOURS: 'HOURS',
			TIME_DURATION_UNIT_DAYS: 'DAYS',
		},

		getCurrentDateTime: function() {
			return new TZDate(tizen.time.getCurrentDateTime());
		},

		setCurrentDateTime: function(dt /*TZDate*/) {
			return tizen.time.setCurrentDateTime(dt._obj);
		},

		getLocalTimezone: function() {
			return tizen.time.getLocalTimezone();
		},

		getAvailableTimezones: function() {
			return tizen.time.getAvailableTimezones();
		},

		getDateFormat: function(shortformat /*boolean*/) {
			return tizen.time.getDateFormat(shortformat);
		},

		getTimeFormat: function() {
			return tizen.time.getTimeFormat();
		},

		isLeapYear: function(year /*long*/) {
			return tizen.time.isLeapYear(year);
		},

		createTZDate: function(args) {
			return new TZDate(args);
		},

		createTimeDuration: function(args) {
			return new TimeDuration(args);
		},
	});
});<commit_msg>Removed the method "setCurrentDateTime" for new Tizen's API<commit_after>define(['Ti/_/lang', 'Ti/Tizen/Time/TZDate', 'Ti/Tizen/Time/TimeDuration', 'Ti/_/Evented'], function(lang, TZDate, TimeDuration, Evented) {
	return lang.setObject('Ti.Tizen.Time', Evented, {

		constants: {
			TIME_DURATION_UNIT_MSECS: 'MSECS',
			TIME_DURATION_UNIT_SECS: 'SECS',
			TIME_DURATION_UNIT_MINS: 'MINS',
			TIME_DURATION_UNIT_HOURS: 'HOURS',
			TIME_DURATION_UNIT_DAYS: 'DAYS'
		},

		getCurrentDateTime: function() {
			return new TZDate(tizen.time.getCurrentDateTime());
		},

		getLocalTimezone: function() {
			return tizen.time.getLocalTimezone();
		},

		getAvailableTimezones: function() {
			return tizen.time.getAvailableTimezones();
		},

		getDateFormat: function(shortformat /*boolean*/) {
			return tizen.time.getDateFormat(shortformat);
		},

		getTimeFormat: function() {
			return tizen.time.getTimeFormat();
		},

		isLeapYear: function(year /*long*/) {
			return tizen.time.isLeapYear(year);
		},

		createTZDate: function(args) {
			return new TZDate(args);
		},

		createTimeDuration: function(args) {
			return new TimeDuration(args);
		}
	});
});
{'fraction_non_alphanumeric': 0.14822635135135134, 'fraction_numerical': 0.0, 'mean_word_length': 4.667464114832536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '741988', 'n_tokens_mistral': 972, 'n_tokens_neox': 846, 'n_words': 130}