You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lu-utils-business.js 944B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * Created by robin on 12/11/16.
  3. */
  4. (function () {
  5. 'use strict';
  6. angular.module('luticate2Utils')
  7. .factory('luUtilsBusiness', ['luUtilsDataAccess', function (luUtilsDataAccess) {
  8. var luUtilsBusiness = {};
  9. luUtilsBusiness.momentDateTimeToString = function(date)
  10. {
  11. return luUtilsDataAccess.momentDateTimeToString(date);
  12. };
  13. luUtilsBusiness.stringToMomentDateTime = function(str)
  14. {
  15. return luUtilsDataAccess.stringToMomentDateTime(str);
  16. };
  17. luUtilsBusiness.dateTimeToString = function(date)
  18. {
  19. return luUtilsDataAccess.dateTimeToString(date);
  20. };
  21. luUtilsBusiness.stringToDateTime = function(str)
  22. {
  23. return luUtilsDataAccess.stringToDateTime(str);
  24. };
  25. return luUtilsBusiness;
  26. }]);
  27. })();