This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 날짜 비교 compareTo | |
*/ | |
public static int compareTo(LocalDateTime leftDate, LocalDateTime rightDate) { | |
int cmp = compareDate(leftDate, rightDate); //compare date | |
if (cmp == 0) { | |
// compare time | |
cmp = compareTime(leftDate.toLocalTime(), rightDate.toLocalTime()); | |
} | |
return cmp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
$> python3 maintenance.py [app_name] [on/off] | |
status = [on, off] | |
app_name = [서비스명] | |
@author yeji im | |
''' | |
import sys, os, time, os.path | |
CONSTRUCTION_BASE="[maintenance file path]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Hello") |