technical-utilities
v1.0.3
Published
### 🎮 Setting
Readme
✨ Technical Library ✨
🎮 Setting
npm i technical-utilities
yarn add technical-utilities
🧮 Global Library Utilities
1. EXTENTION METHODS
🎮 Setting
At app.component.ts add extentions-method.ts
import 'technical-utilities/projects/angular-extentions/src/public-api'
🧨 DATE
- toDate
- toUTCDate
- toStringDate
- toStringTime
- toStringDateTime
- toStringYearMonth
- toStringMonth
- toFirstDateOfMonth
- toLastDateOfMonth
- toFirstDateOfYear
- toLastDateOfYear
- toBeginTimeOfDay
- toEndTimeOfDay
- toJsonCurrentTime
- toJsonBeginTimeOfDay
- toJsonEndTimeOfDay
- addDays
- addWeeks
- addMonths
- addYears
- addHours
- addMinutes
- addSeconds
- subtractDays
- subtractWeeks
- subtractMonths
- subtractYears
- subtractHours
- subtractMinutes
- subtractSeconds
🧨 STRING
- toDate
- toUTCDate
- toInt
- toFloat
- isNullOrWhiteSpace
- isFormatDateVN
🧨 NUMBER
- toStringLeadingZero
2. FUNCTION UTILITIES
- getToDay
- getDateFormat
- getDateTimeFormat
- getUTCDate
- convertNumber
- toStringDateTime
- toFormData
- ToParams
- getFirstAndLastDayOfWeek
3. COMMON TYPE & INTERFACE
- BaseResult
<T> - ValidateResult
- PaginationUtility
<T> - PaginationResult
- PaginationParam
- KeyValuePair
